diff options
Diffstat (limited to 'rts/Proftimer.c')
-rw-r--r-- | rts/Proftimer.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rts/Proftimer.c b/rts/Proftimer.c index 6458f6e095..d1736f722b 100644 --- a/rts/Proftimer.c +++ b/rts/Proftimer.c @@ -50,9 +50,9 @@ stopHeapProfTimer( void ) void startHeapProfTimer( void ) { - if (RtsFlags.ProfFlags.doHeapProfile && + if (RtsFlags.ProfFlags.doHeapProfile && RtsFlags.ProfFlags.heapProfileIntervalTicks > 0) { - do_heap_prof_ticks = rtsTrue; + do_heap_prof_ticks = rtsTrue; } } @@ -82,10 +82,10 @@ handleProfTick(void) #endif if (do_heap_prof_ticks) { - ticks_to_heap_profile--; - if (ticks_to_heap_profile <= 0) { + ticks_to_heap_profile--; + if (ticks_to_heap_profile <= 0) { ticks_to_heap_profile = RtsFlags.ProfFlags.heapProfileIntervalTicks; - performHeapProfile = rtsTrue; - } + performHeapProfile = rtsTrue; + } } } |