Enum libafl::monitors::PerfFeature
source · [−]#[repr(u8)]
pub enum PerfFeature {
GetInputFromCorpus,
Mutate,
MutatePostExec,
TargetExecution,
PreExec,
PostExec,
PreExecObservers,
PostExecObservers,
GetFeedbackInterestingAll,
GetObjectivesInterestingAll,
Count,
}
Expand description
Various features that are measured for performance
Variants
GetInputFromCorpus
Getting an input from the corpus
Mutate
Mutating the input
MutatePostExec
Post-Exec Mutator callback
TargetExecution
Actual time spent executing the target
PreExec
Time spent in pre_exec
PostExec
Time spent in post_exec
PreExecObservers
Time spent in observer
pre_exec_all
PostExecObservers
Time spent in executor.observers_mut().post_exec_all
GetFeedbackInterestingAll
Time spent getting the feedback from is_interesting
from all feedbacks
GetObjectivesInterestingAll
Time spent getting the feedback from is_interesting
from all objectives
Count
Used as a counter to know how many elements are in PerfFeature
. Must be the
last value in the enum.
Trait Implementations
sourceimpl Clone for PerfFeature
impl Clone for PerfFeature
sourcefn clone(&self) -> PerfFeature
fn clone(&self) -> PerfFeature
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PerfFeature
impl Debug for PerfFeature
sourceimpl<'de> Deserialize<'de> for PerfFeature
impl<'de> Deserialize<'de> for PerfFeature
sourcefn 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
sourceimpl From<PerfFeature> for usize
impl From<PerfFeature> for usize
sourcefn from(val: PerfFeature) -> usize
fn from(val: PerfFeature) -> usize
Converts to this type from the input type.
sourceimpl From<usize> for PerfFeature
impl From<usize> for PerfFeature
sourcefn from(val: usize) -> PerfFeature
fn from(val: usize) -> PerfFeature
Converts to this type from the input type.
sourceimpl Serialize for PerfFeature
impl Serialize for PerfFeature
Auto Trait Implementations
impl RefUnwindSafe for PerfFeature
impl Send for PerfFeature
impl Sync for PerfFeature
impl Unpin for PerfFeature
impl UnwindSafe for PerfFeature
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.