mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
AK: Remove Duration::now_monotonic
This is the end of absolute time support in Duration. :^)
This commit is contained in:
parent
fc5cab5c21
commit
3c212c8535
Notes:
sideshowbarker
2024-07-16 19:45:46 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: 3c212c8535
Pull-request: https://github.com/SerenityOS/serenity/pull/17842
Reviewed-by: https://github.com/me-minus
Reviewed-by: https://github.com/timschumi
2 changed files with 0 additions and 15 deletions
|
@ -222,11 +222,6 @@ public:
|
|||
[[nodiscard]] constexpr static Duration zero() { return Duration(0, 0); };
|
||||
[[nodiscard]] constexpr static Duration max() { return Duration(__INT64_MAX__, 999'999'999); };
|
||||
|
||||
#ifndef KERNEL
|
||||
[[nodiscard]] static Duration now_monotonic();
|
||||
[[nodiscard]] static Duration now_monotonic_coarse();
|
||||
#endif
|
||||
|
||||
// Truncates towards zero (2.8s to 2s, -2.8s to -2s).
|
||||
[[nodiscard]] i64 to_truncated_seconds() const;
|
||||
[[nodiscard]] i64 to_truncated_milliseconds() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue