Kernel: Add TimeManagement::now_as_timeval()

Hide the implementation of time-of-day computation in TimeManagement.
This commit is contained in:
Andreas Kling 2020-05-16 11:33:24 +02:00
commit 2d35810e0a
Notes: sideshowbarker 2024-07-19 06:36:55 +09:00
3 changed files with 8 additions and 2 deletions

View file

@ -60,6 +60,8 @@ public:
static bool is_hpet_periodic_mode_allowed();
static timeval now_as_timeval();
private:
explicit TimeManagement(bool probe_non_legacy_hardware_timers);
bool probe_and_set_legacy_hardware_timers();