[][src]Function os_clock::get_current_thread_cpu_time

pub fn get_current_thread_cpu_time() -> Result<Duration, Error>

Get the CPU time of the current thread

Alternatively, use cpu_clock_for_current_thread to get a transferable clock for the current thread.