MCPcopy Index your code
hub / github.com/RustPython/RustPython / process_time_ns

Function process_time_ns

crates/vm/src/stdlib/time.rs:859–861  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

857
858 #[pyfunction]
859 fn process_time_ns(vm: &VirtualMachine) -> PyResult<u64> {
860 Ok(get_process_time(vm)?.as_nanos() as u64)
861 }
862
863 /// Data struct for struct_time
864 #[pystruct_sequence_data(try_from_object)]

Callers

nothing calls this directly

Calls 1

get_process_timeFunction · 0.85

Tested by

no test coverage detected