pub struct TaskInfo {
status: TaskStatus,
syscall_times: [u32; 500],
time: usize,
}
Expand description
Task information
Fields§
§status: TaskStatus
Task status in it’s life cycle
syscall_times: [u32; 500]
The numbers of syscall called by task
time: usize
Total running time of task
Auto Trait Implementations§
impl Freeze for TaskInfo
impl RefUnwindSafe for TaskInfo
impl Send for TaskInfo
impl Sync for TaskInfo
impl Unpin for TaskInfo
impl UnwindSafe for TaskInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more