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

same as flamegraph, but accepts custom options for the flamegraph

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.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. 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.