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
commit 7520acd4eb
Notes: sideshowbarker 2024-07-17 05:48:53 +09:00
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;