pub unsafe fn get_proc_time(pid: u32) -> (String, String, CpuTime)
Expand description

get process time , including Start time , Exit time , Kernel time and User time . it will return a tuple which is (start_time,exit_time,CpuTime)

 use tasklist;
 unsafe{
     println!("{:?}",tasklist::get_proc_time(16056));
 }

OR

use tasklist::info;
unsafe{
    println!("{:?}",info::get_proc_time(16056));
}