Skip to content
Snippets Groups Projects
Commit 3d0e695e authored by Austin Seipp's avatar Austin Seipp
Browse files

[skip ci] rts: Detabify Proftimer.c

parent 1d12df37
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment