1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

Kernel: Move Scheduler current time method to the TimeManagement code

This commit is contained in:
Liav A 2022-10-10 17:36:18 +03:00 committed by Linus Groh
parent 3651d9701e
commit 7520acd4eb
5 changed files with 29 additions and 22 deletions

View file

@ -37,6 +37,8 @@ public:
static bool is_initialized();
static TimeManagement& the();
static u64 scheduler_current_time();
static ErrorOr<void> validate_clock_id(clockid_t);
Time current_time(clockid_t) const;
Time monotonic_time(TimePrecision = TimePrecision::Coarse) const;