Struct zx::TaskRuntimeInfo
source · #[repr(C)]pub struct TaskRuntimeInfo {
pub cpu_time: zx_duration_t,
pub queue_time: zx_duration_t,
pub page_fault_time: zx_duration_t,
pub lock_contention_time: zx_duration_t,
}
Fields§
§cpu_time: zx_duration_t
§queue_time: zx_duration_t
§page_fault_time: zx_duration_t
§lock_contention_time: zx_duration_t
Trait Implementations§
source§impl Add for TaskRuntimeInfo
impl Add for TaskRuntimeInfo
source§impl AddAssign for TaskRuntimeInfo
impl AddAssign for TaskRuntimeInfo
source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+=
operation. Read moresource§impl Clone for TaskRuntimeInfo
impl Clone for TaskRuntimeInfo
source§fn clone(&self) -> TaskRuntimeInfo
fn clone(&self) -> TaskRuntimeInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TaskRuntimeInfo
impl Debug for TaskRuntimeInfo
source§impl Default for TaskRuntimeInfo
impl Default for TaskRuntimeInfo
source§fn default() -> TaskRuntimeInfo
fn default() -> TaskRuntimeInfo
Returns the “default value” for a type. Read more
source§impl From<zx_info_task_runtime_t> for TaskRuntimeInfo
impl From<zx_info_task_runtime_t> for TaskRuntimeInfo
source§fn from(_: zx_info_task_runtime_t) -> TaskRuntimeInfo
fn from(_: zx_info_task_runtime_t) -> TaskRuntimeInfo
Converts to this type from the input type.
source§impl FromBytes for TaskRuntimeInfowhere
zx_duration_t: FromBytes,
impl FromBytes for TaskRuntimeInfowhere
zx_duration_t: FromBytes,
source§impl FromZeros for TaskRuntimeInfowhere
zx_duration_t: FromZeros,
impl FromZeros for TaskRuntimeInfowhere
zx_duration_t: FromZeros,
source§impl PartialEq for TaskRuntimeInfo
impl PartialEq for TaskRuntimeInfo
source§fn eq(&self, other: &TaskRuntimeInfo) -> bool
fn eq(&self, other: &TaskRuntimeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Sub for TaskRuntimeInfo
impl Sub for TaskRuntimeInfo
source§impl SubAssign for TaskRuntimeInfo
impl SubAssign for TaskRuntimeInfo
source§fn sub_assign(&mut self, rhs: Self)
fn sub_assign(&mut self, rhs: Self)
Performs the
-=
operation. Read moresource§impl TryFromBytes for TaskRuntimeInfowhere
zx_duration_t: TryFromBytes,
impl TryFromBytes for TaskRuntimeInfowhere
zx_duration_t: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for TaskRuntimeInfo
impl Eq for TaskRuntimeInfo
impl Immutable for TaskRuntimeInfowhere
zx_duration_t: Immutable,
impl StructuralPartialEq for TaskRuntimeInfo
Auto Trait Implementations§
impl Freeze for TaskRuntimeInfo
impl RefUnwindSafe for TaskRuntimeInfo
impl Send for TaskRuntimeInfo
impl Sync for TaskRuntimeInfo
impl Unpin for TaskRuntimeInfo
impl UnwindSafe for TaskRuntimeInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)