summaryrefslogtreecommitdiff
path: root/rts/Profiling.c
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-07-10 17:14:24 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-16 02:41:23 -0400
commit52f755aa203c55e44dce79c9ac1abc245977b000 (patch)
tree065ab3e51787e6894945cae0c06c1090c0e78212 /rts/Profiling.c
parent373c9cb379bd64c4d295becf3afce122a6e199f4 (diff)
downloadhaskell-52f755aa203c55e44dce79c9ac1abc245977b000.tar.gz
rts: Rename the nondescript initProfiling2 to refreshProfilingCCSs
Diffstat (limited to 'rts/Profiling.c')
-rw-r--r--rts/Profiling.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/Profiling.c b/rts/Profiling.c
index 4931898fe0..f340a63cff 100644
--- a/rts/Profiling.c
+++ b/rts/Profiling.c
@@ -182,7 +182,7 @@ void initProfiling (void)
CCS_MAIN->root = CCS_MAIN;
ccsSetSelected(CCS_MAIN);
- initProfiling2();
+ refreshProfilingCCSs();
if (RtsFlags.CcFlags.doCostCentres) {
initTimeProfiling();
@@ -192,7 +192,7 @@ void initProfiling (void)
//
// Should be called after loading any new Haskell code.
//
-void initProfiling2 (void)
+void refreshProfilingCCSs (void)
{
// make CCS_MAIN the parent of all the pre-defined CCSs.
CostCentreStack *next;