mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
AK: Remove now-unused Duration methods
These are not applicable to Duration, since it's not a timestamp class.
This commit is contained in:
parent
effcd080ca
commit
69e27169c4
2 changed files with 0 additions and 30 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_realtime()
|
||||
{
|
||||
return now_time_from_clock(CLOCK_REALTIME);
|
||||
}
|
||||
|
||||
Duration Duration::now_realtime_coarse()
|
||||
{
|
||||
return now_time_from_clock(CLOCK_REALTIME_COARSE);
|
||||
}
|
||||
|
||||
Duration Duration::now_monotonic()
|
||||
{
|
||||
return now_time_from_clock(CLOCK_MONOTONIC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue