Commit afbae796 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(update_one_stat): Added an assert.

parent 4fdc6f0c
......@@ -209,6 +209,8 @@ update_one_stat(enum stat_type st,
s->acc = 1.0e-6 * (double)s->value * now.tv_usec;
s->when.tv_usec = now.tv_usec;
}
else
assert(s->when.tv_usec == 0);
}
else
{
......
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