Struct pprof::Report[][src]

pub struct Report {
    pub data: HashMap<Frames, isize>,
}
Expand description

The final presentation of a report which is actually an HashMap from Frames to isize (count).

Fields

data: HashMap<Frames, isize>

key is a backtrace captured by profiler and value is count of it.

Implementations

flamegraph will write an svg flamegraph into writer only available with flamegraph feature

Trait Implementations

This will generate Report in a human-readable format:

FRAME: pprof::profiler::perf_signal_handler::h7b995c4ab2e66493 -> FRAME: Unknown -> FRAME: {func1} ->
FRAME: {func2} -> FRAME: {func3} ->  THREAD: {thread_name} {count}

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.