Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ time
Function
time
crates/vm/src/stdlib/time.rs:160–162 ·
view source on GitHub ↗
(vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
158
159
#[pyfunction]
160
pub fn time(vm: &VirtualMachine) -> PyResult<f64> {
161
_time(vm)
162
}
163
164
#[cfg(not(all(
165
target_arch =
"wasm32"
,
Callers
2
current_time_t
Function · 0.70
select
Function · 0.50
Calls
1
_time
Function · 0.85
Tested by
no test coverage detected