Eliran Sinvani
4c434f3fa4
moving avarage rate: Keep computed rates in zero until they are
...
meaningful
When computing moving average rates too early after startup, the
rate can be infinite, this is simply because the sample interval
since the system started is too small to generate meaningful results.
Here we check for this situation and keep the rate at 0 if it happens
to signal that there are still no meaningful results.
This incident is unlikely to happen since it can happen only during a
very small time window after restart, so we add a hint to the compiler
to optimize for that in order to have a minimum impact on the normal
usecase.
Fixes #4469
2020-11-04 11:13:59 +02:00
..
2020-01-30 14:10:18 +02:00
2020-10-28 16:22:23 +02:00
2020-10-11 10:29:24 +03:00
2020-10-11 15:19:54 +03:00
2020-04-23 16:06:37 +03:00
2020-10-11 22:09:19 +03:00
2020-06-25 15:33:31 -07:00
2020-09-22 17:24:33 +03:00
2020-03-23 11:59:30 +02:00
2020-03-23 09:29:45 +02:00
2020-09-22 17:24:33 +03:00
2020-10-11 17:23:40 +03:00
2020-08-03 15:55:16 +03:00
2020-06-18 14:08:29 +03:00
2020-11-02 18:02:01 +02:00
2020-07-03 12:28:14 -07:00
2020-07-14 16:29:49 +03:00
2020-07-28 18:00:29 +03:00
2020-07-28 18:00:29 +03:00
2020-08-03 12:51:16 +03:00
2020-03-23 09:29:45 +02:00
2020-06-02 09:12:21 +03:00
2020-08-19 13:08:12 +03:00
2020-03-23 09:29:45 +02:00
2020-02-09 17:26:52 +02:00
2020-08-06 19:01:18 +03:00
2020-07-14 16:30:02 +03:00
2020-06-02 09:12:21 +03:00
2020-09-22 17:24:33 +03:00
2020-09-22 17:24:33 +03:00
2020-06-18 14:18:21 +03:00
2020-02-29 19:28:57 +02:00
2020-02-29 19:28:57 +02:00
2020-03-23 09:29:45 +02:00
2020-11-01 16:46:18 +02:00
2020-04-05 12:46:04 +03:00
2020-10-11 14:40:32 +03:00
2020-06-02 09:12:21 +03:00
2020-10-11 15:05:15 +03:00
2020-06-01 09:08:40 +03:00
2020-06-01 09:08:40 +03:00
2020-06-14 08:18:39 -07:00
2020-06-18 14:18:21 +03:00
2020-11-04 11:13:59 +02:00
2020-10-13 12:32:14 +03:00
2020-10-13 12:32:14 +03:00
2020-03-23 09:29:45 +02:00
2020-07-14 16:29:49 +03:00
2020-04-05 12:46:04 +03:00
2020-11-02 18:03:19 +02:00
2020-02-27 09:34:51 -05:00
2020-02-27 09:34:51 -05:00
2020-06-02 09:12:21 +03:00
2020-08-04 17:54:45 +03:00
2020-06-02 09:12:21 +03:00
2020-10-11 16:07:16 +03:00
2020-09-08 15:59:25 +03:00
2020-09-08 15:59:25 +03:00
2020-07-17 11:58:53 +03:00
2020-03-23 09:29:45 +02:00
2020-03-23 09:29:45 +02:00
2020-03-04 12:42:57 +02:00
2020-09-22 17:24:33 +03:00
2020-08-18 14:31:04 +03:00
2020-08-18 14:31:04 +03:00
2020-03-23 09:29:45 +02:00
2020-07-14 16:29:43 +03:00
2020-03-23 09:29:45 +02:00
2020-10-18 18:16:30 +03:00
2020-04-05 12:46:04 +03:00
2020-06-02 09:12:21 +03:00
2020-07-15 08:10:23 +00:00
2020-07-15 08:10:23 +00:00
2020-03-23 11:59:30 +02:00
2020-06-02 09:12:21 +03:00
2020-10-14 16:45:21 +03:00
2020-03-03 21:23:40 +02:00
2020-08-11 19:37:47 +08:00
2020-05-23 11:09:10 +03:00
2020-09-22 17:24:33 +03:00
2020-09-22 17:24:33 +03:00
2020-10-21 11:14:44 +03:00
2020-10-21 11:14:44 +03:00
2020-10-14 16:45:21 +03:00
2020-01-26 18:54:36 +02:00