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

Function normalize_top

crates/backend/src/memory_profiler.rs:960–962  ·  view source on GitHub ↗
(top: usize)

Source from the content-addressed store, hash-verified

958}
959
960fn normalize_top(top: usize) -> usize {
961 top.clamp(1, MAX_TOP_LIMIT)
962}
963
964fn now_ms() -> i64 {
965 SystemTime::now()

Callers 4

stacks_reportMethod · 0.85
functions_reportMethod · 0.85
modules_reportMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected