Trait libafl::stats::Stats[][src]

pub trait Stats {
    fn client_stats_mut(&mut self) -> &mut Vec<ClientStats>;
fn client_stats(&self) -> &[ClientStats];
fn start_time(&mut self) -> Duration;
fn display(&mut self, event_msg: String, sender_id: u32); fn corpus_size(&self) -> u64 { ... }
fn objective_size(&self) -> u64 { ... }
fn total_execs(&mut self) -> u64 { ... }
fn execs_per_sec(&mut self) -> u64 { ... }
fn client_stats_mut_for(&mut self, client_id: u32) -> &mut ClientStats { ... } }
Expand description

The stats trait keeps track of all the client’s stats, and offers methods to dispaly them.

Required methods

the client stats (mut)

the client stats

creation time

show the stats to the user

Provided methods

Amount of elements in the corpus (combined for all children)

Amount of elements in the objectives (combined for all children)

Total executions

Executions per second

The client stats for a specific id, creating new if it doesn’t exist

Implementors