Struct inferno::differential::Options[][src]

pub struct Options {
    pub normalize: bool,
    pub strip_hex: bool,
}

Configure the generated output.

All options default to off.

Fields

normalize: bool

Normalize the first profile count to match the second.

This can help in scenarios where you take profiles at different times, under varying load. If you generate a differential flame graph without setting this flag, everything will look red if the load increased, or blue if it decreased. If this flag is set, the first profile is balanced so you get the full red/blue spectrum.

strip_hex: bool

Strip hex numbers (addresses) of the form “0x45ef2173” and replace with “0x…”.

Trait Implementations

impl Clone for Options[src]

impl Copy for Options[src]

impl Debug for Options[src]

impl Default for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.