diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-02-20 20:57:48 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-03-05 14:53:12 -0500 |
commit | ace618cd2294989e783bd453cee88e0e1c0dad77 (patch) | |
tree | 97d34db5521cf1781e57e786eb41f14087808cf9 /rts/ProfHeap.c | |
parent | cedd6f3041de6abe64dfa3257bec7730a9dced9f (diff) | |
download | haskell-ace618cd2294989e783bd453cee88e0e1c0dad77.tar.gz |
nonmoving-gc: Track time usage of nonmoving marking
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index bc439c1678..efb312e899 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -1212,6 +1212,8 @@ heapCensusChain( Census *census, bdescr *bd ) } } +// Time is process CPU time of beginning of current GC and is used as +// the mutator CPU time reported as the census timestamp. void heapCensus (Time t) { uint32_t g, n; @@ -1219,7 +1221,7 @@ void heapCensus (Time t) gen_workspace *ws; census = &censuses[era]; - census->time = mut_user_time_until(t); + census->time = TimeToSecondsDbl(t); census->rtime = TimeToNS(stat_getElapsedTime()); |