MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / now_ms

Function now_ms

packages/server/src/performance.rs:960–965  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

958}
959
960fn now_ms() -> u64 {
961 SystemTime::now()
962 .duration_since(UNIX_EPOCH)
963 .map(|duration| duration.as_millis() as u64)
964 .unwrap_or(0)
965}
966
967#[cfg(target_os = "macos")]
968fn read_process_rusage(pid: i32) -> Option<ProcessRUsage> {

Callers 3

snapshotMethod · 0.70
merge_samplesMethod · 0.70
sample_stackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected