commit | a7a31b26023a428e50cf348635f08c0f7ff50d8b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Apr 11 00:57:33 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Apr 11 11:11:03 2021 +0200 |
tree | e36c111dcb46cef9c55edd0e2dd1ed985bef2ec6 | |
parent | f3a9f8dc5a88837760127947a58365d489a03d54 [diff] |
MEDIUM: freq_ctr: make read_freq_ctr_period() use freq_ctr_total() This one is the easiest to implement, it just requires a call and a divide of the result. Anti-flapping correction for low-rates was preserved. Now calls using a constant period will be able to use a reciprocal multiply for the period instead of a divide.