Commit 3d0e695e authored by Austin Seipp's avatar Austin Seipp
Browse files

[skip ci] rts: Detabify Proftimer.c


Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent 1d12df37
...@@ -50,9 +50,9 @@ stopHeapProfTimer( void ) ...@@ -50,9 +50,9 @@ stopHeapProfTimer( void )
void void
startHeapProfTimer( void ) startHeapProfTimer( void )
{ {
if (RtsFlags.ProfFlags.doHeapProfile && if (RtsFlags.ProfFlags.doHeapProfile &&
RtsFlags.ProfFlags.heapProfileIntervalTicks > 0) { RtsFlags.ProfFlags.heapProfileIntervalTicks > 0) {
do_heap_prof_ticks = rtsTrue; do_heap_prof_ticks = rtsTrue;
} }
} }
...@@ -82,10 +82,10 @@ handleProfTick(void) ...@@ -82,10 +82,10 @@ handleProfTick(void)
#endif #endif
if (do_heap_prof_ticks) { if (do_heap_prof_ticks) {
ticks_to_heap_profile--; ticks_to_heap_profile--;
if (ticks_to_heap_profile <= 0) { if (ticks_to_heap_profile <= 0) {
ticks_to_heap_profile = RtsFlags.ProfFlags.heapProfileIntervalTicks; ticks_to_heap_profile = RtsFlags.ProfFlags.heapProfileIntervalTicks;
performHeapProfile = rtsTrue; performHeapProfile = rtsTrue;
} }
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment