pub struct AnalyzerStats {
pub marker_annotation_count: u32,
pub self_time: Duration,
pub dump_time: Duration,
pub tycheck_time: Duration,
pub dep_time: Duration,
pub rustc_time: Duration,
pub serialization_time: Duration,
pub pdg_functions: u32,
pub pdg_locs: u32,
pub seen_functions: u32,
pub seen_locs: u32,
}
Expand description
Statistics about a single run of paralegal-flow
Fields§
§marker_annotation_count: u32
How many marker annotations were found
self_time: Duration
Total time used for the last analzyer run
dump_time: Duration
Time spent dumping MIR
tycheck_time: Duration
how long the rust typechecker took
dep_time: Duration
How long we spent on dependencies
rustc_time: Duration
How long rustc ran before out plugin executed
serialization_time: Duration
How long did it take to serialize the graphs
pdg_functions: u32
The number of functions we produced a PDG for
pdg_locs: u32
The lines of code corresponding to the functions from
Self::pdg_functions
.
seen_functions: u32
The number of functions we produced PDGs for or we inspected to check for markers.
seen_locs: u32
The lines of code corresponding to the functions from
Self::seen_functions
. This is the sum of all
analyzed_locs
of the controllers but deduplicated.
Implementations§
Source§impl AnalyzerStats
impl AnalyzerStats
Trait Implementations§
Source§impl Debug for AnalyzerStats
impl Debug for AnalyzerStats
Source§impl<'de> Deserialize<'de> for AnalyzerStats
impl<'de> Deserialize<'de> for AnalyzerStats
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
Auto Trait Implementations§
impl Freeze for AnalyzerStats
impl RefUnwindSafe for AnalyzerStats
impl Send for AnalyzerStats
impl Sync for AnalyzerStats
impl Unpin for AnalyzerStats
impl UnwindSafe for AnalyzerStats
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<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