CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2012/08/25 04:23:12
Modified files:
usr.sbin/smtpd : control.c dns.c mda.c mta.c queue.c scheduler.c
scheduler_ramqueue.c smtp.c smtp_session.c
smtpctl.c smtpd.h stat_backend.c stat_ramstat.c
Log message:
- 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.