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:
parent
3651d9701e
commit
7520acd4eb
5 changed files with 29 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue