summaryrefslogtreecommitdiff
path: root/rts/Schedule.c
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2016-07-27 08:25:59 -0700
committerBartosz Nitka <niteria@gmail.com>2016-07-27 08:26:23 -0700
commite98edbd1b8947dcb4a47d20fc854c0a9a6954bea (patch)
treeade9ce89a6f0b7c684b251ea23bf08571d19f475 /rts/Schedule.c
parentb0a5144348d6abad18e771ad2cf3134a5724b969 (diff)
downloadhaskell-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.c2
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