MCPcopy Index your code
hub / github.com/AI45Lab/Code / now_ms

Function now_ms

core/src/subagent_task_tracker.rs:333–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331}
332
333fn now_ms() -> u64 {
334 use std::time::{SystemTime, UNIX_EPOCH};
335 SystemTime::now()
336 .duration_since(UNIX_EPOCH)
337 .map(|d| d.as_millis() as u64)
338 .unwrap_or(0)
339}
340
341#[cfg(test)]
342mod tests {

Callers 2

cancelMethod · 0.70
record_eventMethod · 0.70

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected