mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 20:25:07 +00:00
Kernel: Make TimeManagement::boot_time() static
This commit is contained in:
parent
a786b374b6
commit
adaaea4c9a
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ time_t TimeManagement::ticks_per_second() const
|
||||||
return m_time_keeper_timer->ticks_per_second();
|
return m_time_keeper_timer->ticks_per_second();
|
||||||
}
|
}
|
||||||
|
|
||||||
time_t TimeManagement::boot_time() const
|
time_t TimeManagement::boot_time()
|
||||||
{
|
{
|
||||||
return RTC::boot_time();
|
return RTC::boot_time();
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ public:
|
||||||
Time epoch_time(TimePrecision = TimePrecision::Precise) const;
|
Time epoch_time(TimePrecision = TimePrecision::Precise) const;
|
||||||
void set_epoch_time(Time);
|
void set_epoch_time(Time);
|
||||||
time_t ticks_per_second() const;
|
time_t ticks_per_second() const;
|
||||||
time_t boot_time() const;
|
static time_t boot_time();
|
||||||
|
|
||||||
bool is_system_timer(HardwareTimerBase const&) const;
|
bool is_system_timer(HardwareTimerBase const&) const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue