Willy Tarreau
6dfab112e1
REORG: sched: move idle time calculation from time.h to task.h
...
time.h is a horrible place to put activity calculation, it's a
historical mistake because the functions were there. We already have
most of the parts in sched.{c,h} and these ones make an exception in
the middle, forcing time.h to include some thread stuff and to access
the before/after_poll and idle_pct values.
Let's move these 3 functions to task.h with the other ones. They were
prefixed with "sched_" instead of the historical "tv_" which already
made no sense anymore.
2021-10-01 18:37:51 +02:00
..
2021-09-30 16:37:05 +02:00
2021-06-15 16:52:42 +02:00
2021-08-28 12:04:25 +02:00
2021-09-30 16:37:05 +02:00
2021-08-30 09:39:24 +02:00
2021-08-25 16:14:14 +02:00
2021-06-18 15:48:20 +02:00
2021-09-23 15:27:25 +02:00
2021-08-22 00:30:24 +02:00
2021-09-27 09:47:40 +02:00
2021-08-31 12:13:08 +02:00
2021-09-21 14:00:07 +02:00
2021-10-01 18:36:29 +02:00
2021-10-01 18:36:29 +02:00
2021-09-17 11:50:09 +02:00
2021-05-31 10:51:04 +02:00
2021-10-01 18:36:29 +02:00
2021-10-01 18:36:29 +02:00
2021-08-12 00:51:45 +02:00
2021-08-16 12:37:59 +02:00
2021-09-17 17:22:05 +02:00
2021-10-01 18:37:51 +02:00
2021-10-01 18:37:51 +02:00
2021-10-01 18:37:51 +02:00
2021-10-01 18:37:51 +02:00
2021-10-01 18:37:51 +02:00
2021-08-16 12:37:59 +02:00
2021-09-17 12:00:27 +02:00
2021-09-10 10:35:53 +02:00
2021-08-16 12:37:59 +02:00
2021-06-10 08:57:55 +02:00
2021-10-01 18:36:29 +02:00
2021-09-20 16:06:58 +02:00
2021-08-01 17:34:06 +02:00
2021-09-23 16:13:17 +02:00
2021-09-28 16:21:25 +02:00
2021-08-19 23:38:18 +02:00
2021-09-23 15:27:25 +02:00
2021-09-28 11:44:31 +02:00
2021-08-25 15:53:54 +02:00
2021-10-01 18:36:29 +02:00
2021-09-02 17:06:18 +02:00
2021-09-23 16:25:47 +02:00
2021-09-26 18:19:55 +02:00
2021-08-30 06:14:32 +02:00
2021-07-08 17:11:17 +02:00
2021-07-08 17:11:17 +02:00
2021-09-02 17:06:18 +02:00
2021-09-28 16:21:25 +02:00
2021-09-23 16:19:36 +02:00
2021-06-22 18:43:14 +02:00
2021-06-22 18:43:14 +02:00
2021-09-22 07:24:02 +02:00
2021-08-16 12:37:59 +02:00
2021-06-22 18:43:14 +02:00
2021-10-01 18:36:29 +02:00
2021-09-30 16:37:05 +02:00
2021-10-01 18:36:29 +02:00
2021-05-25 08:44:45 +02:00
2021-06-28 16:29:44 +02:00
2021-10-01 18:36:29 +02:00
2021-10-01 18:36:29 +02:00
2021-10-01 18:36:29 +02:00
2021-09-23 16:25:47 +02:00
2021-10-01 18:36:29 +02:00
2021-07-21 10:17:02 +02:00
2021-08-03 14:17:45 +02:00
2021-09-11 19:58:45 +02:00
2021-05-08 13:55:40 +02:00
2021-10-01 18:36:29 +02:00
2021-09-16 09:20:16 +02:00
2021-09-23 15:27:25 +02:00
2021-09-17 11:56:25 +02:00
2021-05-08 13:59:56 +02:00
2021-09-17 11:59:15 +02:00
2021-06-11 16:57:34 +02:00
2021-10-01 18:36:29 +02:00
2021-09-23 15:27:25 +02:00
2021-09-23 15:27:25 +02:00
2021-09-23 15:27:25 +02:00
2021-08-31 18:37:13 +02:00
2021-09-23 15:27:25 +02:00
2021-09-23 15:27:25 +02:00
2021-09-23 15:27:25 +02:00
2021-10-01 18:36:29 +02:00
2021-09-30 16:37:05 +02:00
2021-09-11 19:58:45 +02:00
2021-10-01 18:36:29 +02:00
2021-10-01 18:36:29 +02:00
2021-06-15 16:52:42 +02:00
2021-10-01 18:36:29 +02:00
2021-09-24 15:07:50 +02:00
2021-07-06 10:52:19 +02:00
2021-06-18 16:42:25 +02:00
2021-05-17 10:50:24 +02:00
2021-09-30 11:04:35 +02:00
2021-09-30 11:04:35 +02:00
2021-08-26 19:48:34 +02:00
2021-10-01 18:37:50 +02:00
2021-10-01 18:36:29 +02:00
2021-09-23 16:25:47 +02:00
2021-10-01 18:36:29 +02:00
2021-10-01 18:37:50 +02:00
2021-07-06 11:44:04 +02:00
2021-09-30 16:37:29 +02:00
2021-09-30 16:37:05 +02:00
2021-09-27 09:47:40 +02:00
2021-09-20 18:37:32 +02:00
2021-05-11 17:24:32 +02:00
2021-09-30 16:37:05 +02:00
2021-10-01 18:36:29 +02:00