MCPcopy 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_tFunction · 0.70
selectFunction · 0.50

Calls 1

_timeFunction · 0.85

Tested by

no test coverage detected