mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 18:39:16 +00:00
refactor(kernel): ♻️ rewrite time manager
This commit is contained in:
@ -28,7 +28,7 @@ void cmd_uptime(const char *)
|
||||
if (TimeManager)
|
||||
{
|
||||
uint64_t Nanoseconds =
|
||||
TimeManager->GetNanosecondsSinceClassCreation();
|
||||
TimeManager->GetTimeNs();
|
||||
uint64_t Seconds = Nanoseconds / 10000000;
|
||||
uint64_t Minutes = Seconds / 60;
|
||||
uint64_t Hours = Minutes / 60;
|
||||
|
Reference in New Issue
Block a user