diff options
author | Bartosz Nitka <niteria@gmail.com> | 2016-07-27 08:25:59 -0700 |
---|---|---|
committer | Bartosz Nitka <niteria@gmail.com> | 2016-07-27 08:26:23 -0700 |
commit | e98edbd1b8947dcb4a47d20fc854c0a9a6954bea (patch) | |
tree | ade9ce89a6f0b7c684b251ea23bf08571d19f475 /rts/Schedule.c | |
parent | b0a5144348d6abad18e771ad2cf3134a5724b969 (diff) | |
download | haskell-e98edbd1b8947dcb4a47d20fc854c0a9a6954bea.tar.gz |
Move stat_startGCSync
@simonmar told me that it makes more sense this way.
Test Plan: it still builds
Reviewers: bgamari, austin, simonmar, erikd
Reviewed By: simonmar, erikd
Subscribers: thomie, simonmar
Differential Revision: https://phabricator.haskell.org/D2428
Diffstat (limited to 'rts/Schedule.c')
-rw-r--r-- | rts/Schedule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Schedule.c b/rts/Schedule.c index d9ab913ad4..c3911afbe5 100644 --- a/rts/Schedule.c +++ b/rts/Schedule.c @@ -1646,6 +1646,8 @@ scheduleDoGC (Capability **pcap, Task *task USED_IF_THREADS, } while (was_syncing); } + stat_startGCSync(gc_threads[cap->no]); + #ifdef DEBUG unsigned int old_n_capabilities = n_capabilities; #endif |