Skip to main content

Profiler

Trait Profiler 

Source
pub trait Profiler {
    // Required methods
    fn section_register(&self, section: &'static Section) -> NonZeroU32;
    fn section_record(
        &self,
        id: NonZeroU32,
        start: u64,
        end: u64,
        fields: &[Field<'_>],
    );
}

Required Methods§

Source

fn section_register(&self, section: &'static Section) -> NonZeroU32

Source

fn section_record( &self, id: NonZeroU32, start: u64, end: u64, fields: &[Field<'_>], )

Implementors§