pub fn parse(text: &str) -> Result<Profile>Expand description
Parse a cachegrind out file.
Only instructions (Ir) are kept; tak runs cachegrind with the cache and
branch simulations off, and those are the only events a count gates on.
Tolerant of what it does not need — unknown header and specification lines are skipped — and strict about what it does: a cost line that will not parse is an error with its line number, because silently dropping one understates a function and the ranking built on it would be wrong.