From 5c797b253d0fdbf1b8f0f49d42fcdb94c0b45fc7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 2 Apr 2019 11:38:02 +0200 Subject: [PATCH] Try to init ticks --- src/meas_lat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meas_lat.c b/src/meas_lat.c index 96e866e..3c09b47 100644 --- a/src/meas_lat.c +++ b/src/meas_lat.c @@ -89,7 +89,7 @@ void free_timer_conf(void* v) { int on_timer(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) { ssize_t s; - uint64_t ticks; + uint64_t ticks = 0; struct measure_conf* mc = fdinfo->other; s = read(fdinfo->fd, &ticks, sizeof(uint64_t));