pub struct FeatureExtractionMetrics {
pub total_extractions: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub avg_extraction_time_ns: u64,
pub total_features_extracted: u64,
}Expand description
Performance metrics for optimization analysis
Fields§
§total_extractions: u64§cache_hits: u64§cache_misses: u64§avg_extraction_time_ns: u64§total_features_extracted: u64Implementations§
Source§impl FeatureExtractionMetrics
impl FeatureExtractionMetrics
pub fn new() -> Self
pub fn cache_hit_rate(&self) -> f32
Trait Implementations§
Source§impl Clone for FeatureExtractionMetrics
impl Clone for FeatureExtractionMetrics
Source§fn clone(&self) -> FeatureExtractionMetrics
fn clone(&self) -> FeatureExtractionMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FeatureExtractionMetrics
impl RefUnwindSafe for FeatureExtractionMetrics
impl Send for FeatureExtractionMetrics
impl Sync for FeatureExtractionMetrics
impl Unpin for FeatureExtractionMetrics
impl UnsafeUnpin for FeatureExtractionMetrics
impl UnwindSafe for FeatureExtractionMetrics
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