REORG: task: uninline the loop time measurement code
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 17:25:38 +0000 (19:25 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 6 Oct 2021 23:41:14 +0000 (01:41 +0200)
commitd8b325c74826bdb02759f62c41a00455dbae3431
tree32a73dca3c19035dd1099e9dfd1cd51b06eb2ef7
parent8de90c71b32ff09c8248ea97db4e80eac7f52b96
REORG: task: uninline the loop time measurement code

It's pointless to inline this, it's called exactly once per poll loop,
and it depends on time.h which is quite deep. Let's move that to task.c
along with sched_report_idle().
include/haproxy/task.h
src/task.c