Revert "refactor: time -> clock"

This reverts commit 44cf08e57c.
This commit is contained in:
Loïc Grégoire
2026-04-19 08:38:45 -04:00
parent f3786fefbc
commit a7e319c922
13 changed files with 83 additions and 95 deletions
+6 -7
View File
@@ -10,7 +10,7 @@ pub const Ipl = p.ipl.Ipl;
pub const SpinLock = p.spinlock.SpinLock;
pub const Thread = p.thread.Thread;
pub const Dpc = p.dpc.Dpc;
pub const ClockSource = p.clock.ClockSource;
pub const TimeCounter = p.time.TimeCounter;
pub const Timer = p.timer.Timer;
pub const Console = p.log.Console;
pub const CpuLocal = p.cpu.CpuLocal;
@@ -35,12 +35,11 @@ pub const dpc = struct {
pub const enqueue = p.dpc.enqueue;
};
pub const clock = struct {
pub const register_source = p.clock.register_source;
pub const read_time = p.clock.read_time;
pub const best = p.clock.best;
pub const sleep = p.clock.sleep;
pub const is_better_than = p.clock.is_better_than;
pub const time = struct {
pub const register_source = p.time.register_source;
pub const read_time_nano = p.time.read_time_nano;
pub const best = p.time.best;
pub const sleep = p.time.sleep;
};
pub const sched = struct {