Struct inferno::differential::Options
source · pub struct Options {
pub normalize: bool,
pub strip_hex: bool,
}
Expand description
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 Copy for Options
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more