Fix SimplePrintingMonitor (#1164)
This commit is contained in:
parent
3f7d35bfdc
commit
d98384e582
@ -319,12 +319,21 @@ impl Default for NopMonitor {
|
|||||||
|
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
/// Tracking monitor during fuzzing that just prints to `stdout`.
|
/// Tracking monitor during fuzzing that just prints to `stdout`.
|
||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct SimplePrintingMonitor {
|
pub struct SimplePrintingMonitor {
|
||||||
start_time: Duration,
|
start_time: Duration,
|
||||||
client_stats: Vec<ClientStats>,
|
client_stats: Vec<ClientStats>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for SimplePrintingMonitor {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self {
|
||||||
|
start_time: current_time(),
|
||||||
|
client_stats: Vec::new(),
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
impl SimplePrintingMonitor {
|
impl SimplePrintingMonitor {
|
||||||
/// Create a new [`SimplePrintingMonitor`]
|
/// Create a new [`SimplePrintingMonitor`]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user