Skip to main content

thread_cpu_time

Function thread_cpu_time 

pub fn thread_cpu_time() -> Option<Duration>
Expand description

CPU time the calling thread has used, where the platform keeps it: what a frame cost its thread, apart from time spent preempted or waiting.