Willy Tarreau
2970b0bedf
[MINOR] freq_ctr: add new types and functions for periods different from 1s
...
Some freq counters will have to work on periods different from 1 second.
The original freq counters rely on the period to be exactly one second.
The new ones (freq_ctr_period) let the user define the period in ticks,
and all computations are operated over that period. When reading a value,
it indicates the amount of events over that period too.
2010-08-10 14:01:09 +02:00
..
2010-06-14 10:53:09 +02:00
2010-02-01 10:43:44 +01:00
2010-01-06 00:28:06 +01:00
2010-03-21 23:31:42 +01:00
2010-01-31 23:33:18 +01:00
2007-03-24 17:24:39 +01:00
2010-06-14 10:53:18 +02:00
2008-05-30 07:07:19 +02:00
2010-08-10 14:01:09 +02:00
2010-06-14 10:53:17 +02:00
2007-01-21 19:16:41 +01:00
2006-12-24 17:47:20 +01:00
2009-10-09 07:17:58 +02:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2009-10-01 21:11:15 +02:00
2009-04-03 12:01:47 +02:00
2010-06-14 15:10:24 +02:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2010-03-30 10:39:43 +02:00
2010-06-14 10:53:13 +02:00
2010-06-14 10:53:11 +02:00
2007-11-04 22:42:49 +01:00
2010-06-14 10:53:19 +02:00
2008-12-07 23:51:12 +01:00
2009-10-04 23:26:19 +02:00
2010-06-14 10:53:17 +02:00
2009-05-10 09:24:23 +02:00
2010-06-14 15:10:26 +02:00
2010-01-10 10:21:21 +01:00
2010-06-14 10:53:15 +02:00
2009-10-26 21:10:04 +01:00
2006-06-29 18:54:54 +02:00