]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: activity: uninline activity_count_runtime()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 14:22:09 +0000 (16:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commite0650224b8658694c0d25d7ba38ba2bfd0c1b33c
tree343986d793d49d03d04ce4c46c80fc6679ace090
parent9310f481ce7c33bfc511d865144678dad368c596
REORG: activity: uninline activity_count_runtime()

This function has no reason for being inlined, it's called from non
critical places (once in pollers), is quite large and comes with
dependencies (time and freq_ctr). Let's move it to acitvity.c. That's
another 0.4% less LoC to build.
include/haproxy/activity.h
src/activity.c