#[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§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§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
)