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

WIP

parent d8c99625
......@@ -82,14 +82,14 @@ static void *timerthread(void *p) {
if(param->enable_tracing)
tracemark(time_measured_string);
stat->max_res = max(stat->max_res, diff);
stat->min_res = min(stat->min_res, diff);
if( param->enable_tracing && (diff > param->latency_threshold) ) {
tracing(0);
break;
}
stat->max_res = max(stat->max_res, diff);
stat->min_res = min(stat->min_res, diff);
usleep(param->interval);
}
......
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