Trait profiler::parse::cachegrind::CacheGrindParser [] [src]

pub trait CacheGrindParser {
    fn cachegrind_cli(&self, binary: &str) -> Result<StringProfError>;
    fn cachegrind_parse<'b>(&'b self, output: &'b str, num: usize, sort_metric: Metric) -> Result<ProfilerProfError>;
}

Parser trait. To parse the output of Profilers, we first have to get their output from the command line, and then parse the output into respective structs.

Required Methods

fn cachegrind_cli(&self, binary: &str) -> Result<StringProfError>

fn cachegrind_parse<'b>(&'b self, output: &'b str, num: usize, sort_metric: Metric) -> Result<ProfilerProfError>

Implementors