pub struct ProfileReport {
pub stats: HashMap<String, OperationStats>,
pub config: ReportConfig,
}
Fields§
§stats: HashMap<String, OperationStats>
§config: ReportConfig
Implementations§
Source§impl ProfileReport
impl ProfileReport
pub fn generate() -> Self
pub fn generate_with_config(_config: ReportConfig) -> Self
pub fn quick_summary(&self) -> String
pub fn summary_stats(&self) -> SummaryStats
pub fn to_string(&self) -> String
pub fn top_operations_by( &self, _metric: SortMetric, _limit: usize, ) -> Vec<(String, OperationStats)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProfileReport
impl RefUnwindSafe for ProfileReport
impl Send for ProfileReport
impl Sync for ProfileReport
impl Unpin for ProfileReport
impl UnwindSafe for ProfileReport
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