1
Fork 0
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:
kleines Filmröllchen 2023-03-13 22:41:35 +01:00 committed by Jelle Raaijmakers
parent effcd080ca
commit 69e27169c4
2 changed files with 0 additions and 30 deletions

View file

@ -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);