commit | 6136989a2272d9b4422de6486f9b9d492f2c8488 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 30 08:52:11 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 01 18:37:50 2021 +0200 |
tree | a1d9fdf004f81ff5a47e7a855f8602065fbb4ece | |
parent | beeabf531468bc2f40845a83e76726130dc9f98e [diff] |
MINOR: time: uninline report_idle() and move it to task.c I don't know why I inlined this one, this makes no sense given that it's only used for stats, and it starts a circular dependency on tinfo.h which can be problematic in the future. In addition, all the stuff related to idle time calculation should be with the rest of the scheduler, which currently is in task.{c,h}, so let's move it there.