mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 15:28:21 +00:00
refactor: time -> clock
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ pub fn log(
|
||||
// Reserve space in the ring buffer.
|
||||
var res = ringbuffer.reserve(required_len) catch return;
|
||||
|
||||
res.info.timestamp = ke.time.read_time_nano();
|
||||
res.info.timestamp = ke.clock.read_time();
|
||||
res.info.length = @truncate(required_len);
|
||||
|
||||
// Format the log message into the reserved buffer.
|
||||
|
||||
Reference in New Issue
Block a user