summaryrefslogtreecommitdiff
path: root/rts/Proftimer.c
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-10-21 16:38:27 -0500
committerAustin Seipp <austin@well-typed.com>2014-10-21 16:38:27 -0500
commit3d0e695e8ccd505066c806193f4c17487200fce3 (patch)
tree1bac56b4b33bbf16b5c1d17d1d39e9862c88b752 /rts/Proftimer.c
parent1d12df3794b4f230d9f1dcca9973a2d9f45fbeed (diff)
downloadhaskell-3d0e695e8ccd505066c806193f4c17487200fce3.tar.gz
[skip ci] rts: Detabify Proftimer.c
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/Proftimer.c')
-rw-r--r--rts/Proftimer.c12
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;
+ }
}
}