MCPcopy Create free account
hub / github.com/acking-you/static_flow / now_ms

Function now_ms

crates/backend/src/memory_profiler.rs:964–969  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

962}
963
964fn now_ms() -> i64 {
965 SystemTime::now()
966 .duration_since(UNIX_EPOCH)
967 .map(|value| value.as_millis() as i64)
968 .unwrap_or_default()
969}
970
971pub fn normalized_top_or_default(top: Option<usize>) -> usize {
972 normalize_top(top.unwrap_or(DEFAULT_TOP_LIMIT))

Callers 4

overviewMethod · 0.70
stacks_reportMethod · 0.70
functions_reportMethod · 0.70
modules_reportMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected