diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-08-25 10:23:13 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-08-25 10:23:13 +0000 |
commit | 459fd55e400d54be5b404e3e83a138a2aea7a176 (patch) | |
tree | 77a16945f8e14d2ad1975997db68301d75088ac0 /sys/dev/wscons/wsemul_vt100var.h | |
parent | b6702e5d938cae875a94aff3b385eb9edb621218 (diff) |
- introduce struct stat_value
- statistics can now have a type (counter, timestamp, timeval, timespec and
possibly others in the future)
- stat_increment() / stat_decrement() now take an increment/decrement value
and are at the moment only of type counter
- stat_set() now takes a stat_value
- provide helpers to convert raw values to stat_value
ok eric@, ok chl@
while at it fix a rq_queue_dump() call using a bogus timestamp in scheduler
ramqueue.
Diffstat (limited to 'sys/dev/wscons/wsemul_vt100var.h')
0 files changed, 0 insertions, 0 deletions