Skip to content

Commit 4eca088

Browse files
author
Mitsutoshi Aoe
authored
Merge pull request #70 from bgamari/master
Render GCEnd period in light orange
2 parents 34cf9dc + 03bdae1 commit 4eca088

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

GUI/KeyView.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ keyData =
6363
"Indicates a period of time spent running Haskell code (not GC, not blocked/idle)")
6464
, ("GC", KDuration, gcColour,
6565
"Indicates a period of time spent by the RTS performing garbage collection (GC)")
66+
, ("GC waiting", KDuration, gcWaitColour,
67+
"Indicates a period of time spent by the RTS waiting to initiate or finish garbage collection (GC)")
6668
, ("create thread", KEvent, createThreadColour,
6769
"Indicates a new Haskell thread has been created")
6870
, ("seq GC req", KEvent, seqGCReqColour,

GUI/ViewerColours.hs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ runningColour = darkGreen
1818
gcColour :: Color
1919
gcColour = orange
2020

21+
gcWaitColour :: Color
22+
gcWaitColour = lightOrange
23+
2124
gcStartColour, gcWorkColour, gcIdleColour, gcEndColour :: Color
22-
gcStartColour = orange
25+
gcStartColour = lightOrange
2326
gcWorkColour = orange
24-
gcIdleColour = white
25-
gcEndColour = orange
27+
gcIdleColour = lightOrange
28+
gcEndColour = lightOrange
2629

2730
createThreadColour :: Color
2831
createThreadColour = lightBlue
@@ -109,6 +112,9 @@ darkRed = Color 0xcc00 0x0000 0x0000
109112
orange :: Color
110113
orange = Color 0xE000 0x7000 0x0000 -- orange
111114

115+
lightOrange :: Color
116+
lightOrange = Color 0xE000 0xD000 0xB000 -- orange
117+
112118
profileBackground :: Color
113119
profileBackground = Color 0xFFFF 0xFFFF 0xFFFF
114120

0 commit comments

Comments
 (0)