summaryrefslogtreecommitdiffstats
path: root/runtime/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/time.c')
-rw-r--r--runtime/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/time.c b/runtime/time.c
index a6b33aa8..7f9b5ffa 100644
--- a/runtime/time.c
+++ b/runtime/time.c
@@ -187,6 +187,7 @@ _stp_init_time(void)
stp_time = alloc_percpu(stp_time_t);
if (unlikely(stp_time == 0))
return -1;
+ _stp_allocated_memory += sizeof(stp_time_t) * num_online_cpus();
stp_timer_reregister = 1;
ret = on_each_cpu(__stp_init_time, NULL, 0, 1);