Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ elapsed_secs
Function
elapsed_secs
crates/vm/src/gc_state.rs:14–16 ·
view source on GitHub ↗
(start: &std::time::Instant)
Source
from the content-addressed store, hash-verified
12
13
#[cfg(not(target_arch =
"wasm32"
))]
14
fn elapsed_secs(start: &std::time::Instant) -> f64 {
15
start.elapsed().as_secs_f64()
16
}
17
18
#[cfg(target_arch =
"wasm32"
)]
19
fn elapsed_secs(_start: &()) -> f64 {
Callers
1
collect_inner
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected