1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +00:00

Kernel: Don't use the profile timer if we don't have a timer to assign

This commit is contained in:
Liav A 2021-05-14 11:33:34 +03:00 committed by Andreas Kling
parent a5801e9919
commit 8a4cc735b9
3 changed files with 43 additions and 21 deletions

View file

@ -56,8 +56,8 @@ public:
static bool is_hpet_periodic_mode_allowed();
void enable_profile_timer();
void disable_profile_timer();
bool enable_profile_timer();
bool disable_profile_timer();
u64 uptime_ms() const;
static Time now();