Try to init ticks
This commit is contained in:
parent
52758f0e61
commit
5c797b253d
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue