MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / elapsed_ms

Function elapsed_ms

crates/openshell-server/src/readiness.rs:232–234  ·  view source on GitHub ↗
(elapsed: Duration)

Source from the content-addressed store, hash-verified

230}
231
232fn elapsed_ms(elapsed: Duration) -> u64 {
233 u64::try_from(elapsed.as_millis()).unwrap_or(u64::MAX)
234}
235
236#[cfg(test)]
237mod tests {

Callers 1

run_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected