pub struct TMS {
pub utime: u64,
pub stime: u64,
pub cutime: u64,
pub cstime: u64,
}
Expand description
Fields§
§utime: u64
进程执行用户代码的时间
stime: u64
进程执行内核代码的时间
cutime: u64
子进程执行用户代码的时间
cstime: u64
子进程执行内核代码的时间
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TMS
impl RefUnwindSafe for TMS
impl Send for TMS
impl Sync for TMS
impl Unpin for TMS
impl UnwindSafe for TMS
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)