summaryrefslogtreecommitdiff
path: root/rts/Proftimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/Proftimer.c')
-rw-r--r--rts/Proftimer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Proftimer.c b/rts/Proftimer.c
index dfcc709625..82838184b7 100644
--- a/rts/Proftimer.c
+++ b/rts/Proftimer.c
@@ -65,11 +65,13 @@ initProfTimer( void )
startHeapProfTimer();
}
+nat total_ticks = 0;
void
handleProfTick(void)
{
#ifdef PROFILING
+ total_ticks++;
if (do_prof_ticks) {
CCCS->time_ticks++;
}