commit | 20adfde9c848e5c7ef54e28bf0cc9578ed7f3171 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 08 11:34:46 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 08 17:22:26 2021 +0200 |
tree | 20df3daa92b2dc5f084f4874b378467aaac52bca | |
parent | f9d5e1079cf14d532ebd65ee1ada771766114190 [diff] |
MINOR: activity: get the run_time from the clock updates Instead of fiddling with before_poll and after_poll in activity_count_runtime(), the function is now called by clock_entering_poll() which passes it the number of microseconds spent working. This allows to remove all calls to activity_count_runtime() from the pollers.