diff options
Diffstat (limited to 'rts/Proftimer.c')
-rw-r--r-- | rts/Proftimer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rts/Proftimer.c b/rts/Proftimer.c index 82838184b7..76d7679000 100644 --- a/rts/Proftimer.c +++ b/rts/Proftimer.c @@ -50,7 +50,7 @@ void startHeapProfTimer( void ) { if (RtsFlags.ProfFlags.doHeapProfile && - RtsFlags.ProfFlags.profileIntervalTicks > 0) { + RtsFlags.ProfFlags.heapProfileIntervalTicks > 0) { do_heap_prof_ticks = rtsTrue; } } @@ -60,7 +60,7 @@ initProfTimer( void ) { performHeapProfile = rtsFalse; - ticks_to_heap_profile = RtsFlags.ProfFlags.profileIntervalTicks; + ticks_to_heap_profile = RtsFlags.ProfFlags.heapProfileIntervalTicks; startHeapProfTimer(); } @@ -80,7 +80,7 @@ handleProfTick(void) if (do_heap_prof_ticks) { ticks_to_heap_profile--; if (ticks_to_heap_profile <= 0) { - ticks_to_heap_profile = RtsFlags.ProfFlags.profileIntervalTicks; + ticks_to_heap_profile = RtsFlags.ProfFlags.heapProfileIntervalTicks; performHeapProfile = rtsTrue; } } |