pub struct PerformanceBreakdown {
pub tokenization_time_ms: f64,
pub model_execution_time_ms: f64,
pub sampling_time_ms: f64,
pub scheduling_time_ms: f64,
pub memory_operations_time_ms: f64,
pub other_overhead_time_ms: f64,
}Fields§
§tokenization_time_ms: f64§model_execution_time_ms: f64§sampling_time_ms: f64§scheduling_time_ms: f64§memory_operations_time_ms: f64§other_overhead_time_ms: f64Trait Implementations§
Source§impl Clone for PerformanceBreakdown
impl Clone for PerformanceBreakdown
Source§fn clone(&self) -> PerformanceBreakdown
fn clone(&self) -> PerformanceBreakdown
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 PerformanceBreakdown
impl Debug for PerformanceBreakdown
Source§impl Default for PerformanceBreakdown
impl Default for PerformanceBreakdown
Source§fn default() -> PerformanceBreakdown
fn default() -> PerformanceBreakdown
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PerformanceBreakdown
impl<'de> Deserialize<'de> for PerformanceBreakdown
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 PerformanceBreakdown
impl RefUnwindSafe for PerformanceBreakdown
impl Send for PerformanceBreakdown
impl Sync for PerformanceBreakdown
impl Unpin for PerformanceBreakdown
impl UnsafeUnpin for PerformanceBreakdown
impl UnwindSafe for PerformanceBreakdown
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