mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
This commits add four methods, thread_time, thread_time_ns, process_time and process_time_ns. With use of libc crate, we can get thread_time and process_time from the cpu. Signed-off-by: snowapril <sinjihng@gmail.com>