(vm: &VirtualMachine)
| 207 | |
| 208 | #[pyfunction] |
| 209 | fn perf_counter(vm: &VirtualMachine) -> PyResult<f64> { |
| 210 | Ok(get_perf_time(vm)?.as_secs_f64()) |
| 211 | } |
| 212 | |
| 213 | #[pyfunction] |
| 214 | fn perf_counter_ns(vm: &VirtualMachine) -> PyResult<u128> { |
no test coverage detected