pub struct ExecutionProfile {
pub compilation_cache_hit: bool,
pub compile_time_ms: i64,
pub compute_cycle_count: i64,
pub compute_time_ns: i64,
pub compute_and_transfer_time_ns: i64,
pub executable_size_in_bytes: i64,
pub profile_cache_hit: bool,
pub warmup_run_executed: bool,
}Expand description
Profile data from the execution of a computation.
Fields§
§compilation_cache_hit: boolWhether the executable was read from the compilation cache.
compile_time_ms: i64The time in milliseconds spent to compile the computation. This only set if the executable was not read from the compilation cache (compilation_cache_hit == false).
compute_cycle_count: i64The number of cycles spent for the computation. This does not include the time taken for the data transfers between the host and the device. This is a target-dependent field and only used for debugging purposes.
compute_time_ns: i64The time in nanoseconds spent for the computation, without data transfer.
compute_and_transfer_time_ns: i64The time in nanoseconds spent for the entire computation, including the result data transfer time. Current implementation does not spend any cycles for the input data transfer since the memory is initialized with the proper values before the execution.
executable_size_in_bytes: i64The size of the binary code in the executable.
profile_cache_hit: boolWhether this profile was drawn from a cache of profiles instead of from execution on the hardware.
warmup_run_executed: boolWhether a warm-up run of the computation was executed before the measured execution.
Trait Implementations§
Source§impl Clone for ExecutionProfile
impl Clone for ExecutionProfile
Source§fn clone(&self) -> ExecutionProfile
fn clone(&self) -> ExecutionProfile
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionProfile
impl Debug for ExecutionProfile
Source§impl Default for ExecutionProfile
impl Default for ExecutionProfile
Source§impl Message for ExecutionProfile
impl Message for ExecutionProfile
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ExecutionProfile
impl PartialEq for ExecutionProfile
impl Copy for ExecutionProfile
impl StructuralPartialEq for ExecutionProfile
Auto Trait Implementations§
impl Freeze for ExecutionProfile
impl RefUnwindSafe for ExecutionProfile
impl Send for ExecutionProfile
impl Sync for ExecutionProfile
impl Unpin for ExecutionProfile
impl UnwindSafe for ExecutionProfile
Blanket Implementations§
§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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)