pub unsafe fn get_proc_io_counter(pid: u32) -> IoCounter
Expand description

get the process io counter , it will return a IoCounter if cant get the io counter , it will return a zero IoCounter

use tasklist;
let io = unsafe{
    tasklist::get_proc_io_counter(17016)
};
println!("{:?}",io.get_other_operation_count());

OR

use tasklist::info;
let io = unsafe{
   info::get_proc_io_counter(17016)
};
println!("{:?}",io.get_other_operation_count());