pub struct StageProfile {Show 13 fields
pub stage_name: String,
pub component_type: String,
pub start_time: DateTime<Utc>,
pub end_time: Option<DateTime<Utc>>,
pub execution_time: Duration,
pub memory_samples: Vec<MemorySample>,
pub cpu_samples: Vec<CpuSample>,
pub gpu_samples: Vec<GpuSample>,
pub input_shape: Option<(usize, usize)>,
pub output_shape: Option<(usize, usize)>,
pub parameters: HashMap<String, String>,
pub error_count: u32,
pub warning_count: u32,
}Expand description
Performance profile for individual pipeline stage
Fields§
§stage_name: String§component_type: String§start_time: DateTime<Utc>§end_time: Option<DateTime<Utc>>§execution_time: Duration§memory_samples: Vec<MemorySample>§cpu_samples: Vec<CpuSample>§gpu_samples: Vec<GpuSample>§input_shape: Option<(usize, usize)>§output_shape: Option<(usize, usize)>§parameters: HashMap<String, String>§error_count: u32§warning_count: u32Trait Implementations§
Source§impl Clone for StageProfile
impl Clone for StageProfile
Source§fn clone(&self) -> StageProfile
fn clone(&self) -> StageProfile
Returns a duplicate 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 StageProfile
impl Debug for StageProfile
Source§impl<'de> Deserialize<'de> for StageProfile
impl<'de> Deserialize<'de> for StageProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StageProfile
impl RefUnwindSafe for StageProfile
impl Send for StageProfile
impl Sync for StageProfile
impl Unpin for StageProfile
impl UnwindSafe for StageProfile
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more