pub struct ProfileCollector { /* private fields */ }Implementations§
Source§impl ProfileCollector
impl ProfileCollector
pub fn new() -> Self
pub fn record_invocation( &mut self, fingerprint: &str, exec_us: u64, executor: ExecutorKind, )
pub fn record_shape_invocation(&mut self, label: &str, exec_us: u64)
pub fn records(&self) -> &[QueryRecord]
pub fn shape_records(&self) -> &[ShapeRecord]
pub fn shape_cache(&self) -> &ShapeCacheRecord
pub fn print_summary(&self)
Trait Implementations§
Source§impl Debug for ProfileCollector
impl Debug for ProfileCollector
Source§impl Default for ProfileCollector
impl Default for ProfileCollector
Source§fn default() -> ProfileCollector
fn default() -> ProfileCollector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProfileCollector
impl RefUnwindSafe for ProfileCollector
impl Send for ProfileCollector
impl Sync for ProfileCollector
impl Unpin for ProfileCollector
impl UnsafeUnpin for ProfileCollector
impl UnwindSafe for ProfileCollector
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