diff options
| author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2026-08-08 15:28:35 +0900 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-08-11 11:34:06 +0200 |
| commit | d481d999967d4e7ebcecf472fc29b8f5dfcfcc29 (patch) | |
| tree | 58fe7a7cacaf89e829502116f3840def24a8f687 /tools | |
| parent | 2e0d41002a2766cfc6742be02ea8b078567200d2 (diff) | |
rust: time: add Delta::as_millis_ceil()
Add a ceiling variant, mirroring the existing as_micros_ceil() since
the existing as_millis() truncates towards zero.
Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://patch.msgid.link/20260808062839.1159990-4-tomo@flapping.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
