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 )
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;
}
}
}
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