Nicholas Piggin
47de6c4c28
host-utils: Add muldiv64_round_up
...
This will be used for converting time intervals in different base units
to host units, for the purpose of scheduling timers to emulate target
timers. Timers typically must not fire before their requested expiry
time but may fire some time afterward, so rounding up is the right way
to implement these.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com >
Reviewed-by: Richard Henderson <richard.henderson@linaro.org >
[ clg: renamed __muldiv64() to muldiv64_rounding() ]
Signed-off-by: Cédric Le Goater <clg@kaod.org >
2023-09-06 11:19:33 +02:00
..
2023-01-06 00:50:32 +01:00
2023-02-08 07:28:05 +01:00
2023-05-23 16:51:18 -07:00
2023-06-06 09:42:14 +02:00
2023-03-20 12:43:50 +01:00
2023-05-02 12:36:46 -07:00
2023-06-22 18:55:14 -04:00
2022-03-22 14:40:51 +04:00
2022-02-21 13:30:20 +00:00
2022-12-15 16:07:43 +01:00
2023-08-30 08:57:08 -06:00
2022-12-14 16:19:35 +01:00
2023-01-20 07:21:46 +01:00
2022-03-04 18:14:40 +01:00
2023-01-20 07:21:46 +01:00
2022-05-11 16:50:01 +02:00
2023-05-16 15:21:39 -07:00
2023-05-23 15:20:15 +08:00
2023-08-31 19:47:43 +02:00
2023-06-02 12:27:19 -05:00
2023-02-08 07:28:05 +01:00
2023-02-10 14:12:06 +01:00
2022-04-21 17:09:09 +04:00
2022-03-06 06:19:47 -05:00
2023-08-31 19:47:43 +02:00
2023-02-17 14:34:24 +01:00
2023-05-30 15:50:17 +01:00
2023-09-06 11:19:33 +02:00
2022-02-21 13:30:20 +00:00
2023-05-30 09:51:11 -07:00
2022-12-20 17:09:41 -08:00
2023-06-05 13:11:24 +02:00
2023-08-31 19:47:43 +02:00
2022-10-07 12:11:41 +02:00
2022-05-11 16:50:01 +02:00
2023-01-20 07:21:46 +01:00
2022-04-20 10:51:11 -07:00
2023-06-13 17:42:01 +10:00
2022-02-21 13:30:20 +00:00
2023-04-28 11:31:07 +02:00
2022-03-07 13:16:49 +00:00
2023-04-24 11:29:00 +02:00
2022-11-06 09:48:50 +01:00
2022-02-21 13:30:20 +00:00
2022-04-21 17:03:51 +04:00
2023-08-31 19:47:43 +02:00
2023-03-22 15:06:57 +00:00
2023-06-26 17:32:59 +02:00
2023-03-22 15:06:57 +00:00
2023-08-31 19:47:43 +02:00
2023-01-19 10:18:28 +01:00
2023-03-22 15:06:57 +00:00
2022-03-22 14:40:51 +04:00
2022-04-06 14:31:43 +02:00
2023-03-28 15:23:10 -07:00
2022-03-22 14:40:51 +04:00
2023-02-10 14:12:06 +01:00
2023-08-31 19:47:43 +02:00
2023-02-04 07:56:54 +01:00
2023-08-08 13:27:17 -07:00
2023-03-13 15:39:31 +04:00
2023-04-27 16:39:43 +02:00
2023-08-31 19:47:43 +02:00
2022-10-27 11:00:43 +02:00
2022-04-06 14:31:56 +02:00
2023-02-17 11:22:19 +01:00
2023-06-26 17:33:00 +02:00
2023-06-28 13:55:35 +02:00
2023-08-31 19:47:43 +02:00
2023-02-08 07:27:20 +01:00
2023-03-02 19:13:52 -05:00
2023-05-30 17:32:02 +02:00
2022-04-22 13:36:04 +04:00
2022-12-23 11:48:13 +01:00
2023-06-01 11:05:05 -04:00
2023-08-31 19:47:43 +02:00