pub trait Monitor {
fn client_stats_mut(&mut self) -> &mut Vec<ClientStats>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
;
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 monitor trait keeps track of all the client’s monitor, and offers methods to display them.
Required Methods
fn client_stats_mut(&mut self) -> &mut Vec<ClientStats>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
fn client_stats_mut(&mut self) -> &mut Vec<ClientStats>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
The client monitor (mutable)
fn client_stats(&self) -> &[ClientStats]
fn client_stats(&self) -> &[ClientStats]
The client monitor
fn start_time(&mut self) -> Duration
fn start_time(&mut self) -> Duration
Creation time
Provided Methods
fn corpus_size(&self) -> u64
fn corpus_size(&self) -> u64
Amount of elements in the corpus (combined for all children)
fn objective_size(&self) -> u64
fn objective_size(&self) -> u64
Amount of elements in the objectives (combined for all children)
fn total_execs(&mut self) -> u64
fn total_execs(&mut self) -> u64
Total executions
fn execs_per_sec(&mut self) -> u64
fn execs_per_sec(&mut self) -> u64
Executions per second
fn client_stats_mut_for(&mut self, client_id: u32) -> &mut ClientStats
fn client_stats_mut_for(&mut self, client_id: u32) -> &mut ClientStats
The client monitor for a specific id, creating new if it doesn’t exist