mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 20:59:00 +00: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
10
AK/Time.cpp
10
AK/Time.cpp
|
@ -217,16 +217,6 @@ static Duration now_time_from_clock(clockid_t clock_id)
|
|||
}
|
||||
}
|
||||
|
||||
Duration Duration::now_monotonic()
|
||||
{
|
||||
return now_time_from_clock(CLOCK_MONOTONIC);
|
||||
}
|
||||
|
||||
Duration Duration::now_monotonic_coarse()
|
||||
{
|
||||
return now_time_from_clock(CLOCK_MONOTONIC_COARSE);
|
||||
}
|
||||
|
||||
MonotonicTime MonotonicTime::now()
|
||||
{
|
||||
return MonotonicTime { now_time_from_clock(CLOCK_MONOTONIC) };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue