pub struct FlamegraphSummary {
pub event_kind: EventKind,
pub regular_path: Option<PathBuf>,
pub base_path: Option<PathBuf>,
pub diff_path: Option<PathBuf>,
}
Available on crate feature
runner
only.Expand description
The callgrind FlamegraphSummary
records all created paths for an EventKind
specific
flamegraph
Either the regular_path
, old_path
or the diff_path
are present. Never can all of them be
absent.
Fields§
§event_kind: EventKind
The EventKind
of the flamegraph
regular_path: Option<PathBuf>
If present, the path to the file of the regular (non-differential) flamegraph
base_path: Option<PathBuf>
If present, the path to the file of the old regular (non-differential) flamegraph
diff_path: Option<PathBuf>
If present, the path to the file of the differential flamegraph
Implementations§
Trait Implementations§
source§impl Debug for FlamegraphSummary
impl Debug for FlamegraphSummary
source§impl<'de> Deserialize<'de> for FlamegraphSummary
impl<'de> Deserialize<'de> for FlamegraphSummary
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for FlamegraphSummary
impl JsonSchema for FlamegraphSummary
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for FlamegraphSummary
impl PartialEq for FlamegraphSummary
source§impl Serialize for FlamegraphSummary
impl Serialize for FlamegraphSummary
impl Eq for FlamegraphSummary
impl StructuralPartialEq for FlamegraphSummary
Auto Trait Implementations§
impl Freeze for FlamegraphSummary
impl RefUnwindSafe for FlamegraphSummary
impl Send for FlamegraphSummary
impl Sync for FlamegraphSummary
impl Unpin for FlamegraphSummary
impl UnwindSafe for FlamegraphSummary
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more