Commit fba4c338 authored by Joanne Hugé's avatar Joanne Hugé

Make the interval an option

parent 2a0883a3
......@@ -103,7 +103,7 @@ static void *timerthread(void *p) {
stat->max_res = max(stat->max_res, diff);
stat->min_res = min(stat->min_res, diff);
next.tv_nsec += 10000000;
next.tv_nsec += param->interval;
if(next.tv_nsec >= NSEC_PER_SEC) {
next.tv_sec += 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment