pub fn new(clients: Vec<AdmissionControlClient>, stagger_range_ms: u16) -> Self {
        if clients.is_empty() {
            panic!("failed to create benchmarker without any AdmissionControlClient");
        }
        let arc_clients = clients.into_iter().map(Arc::new).collect();
        let prev_sequence_numbers = HashMap::new();
        Benchmarker {
            clients: arc_clients,
            stagger_range_ms,
            prev_sequence_numbers,
        }
    }
/// Construct Benchmarker with a vector of AC clients and a NodeDebugClient.
Construct Benchmarker with a vector of AC clients and a NodeDebugClient.
Construct Benchmarker with a vector of AC clients and a NodeDebugClient .
pub fn new(clients: Vec<AdmissionControlClient>, stagger_range_ms: u16) -> Self {
        if clients.is_empty() {
            panic!("failed to create benchmarker without any AdmissionControlClient");
        }
        let arc_clients = clients.into_iter().map(Arc::new).collect();
        let prev_sequence_numbers = HashMap::new();
        Benchmarker {
            clients: arc_clients,
            stagger_range_ms,
            prev_sequence_numbers,
        }
    }
pub fn new ( clients : Vec < AdmissionControlClient > , stagger_range_ms : u16 ) -> Self { if clients . is_empty ( ) { panic ! ( " " ) ; } let arc_clients = clients . into_iter ( ) . map ( Arc :: new ) . collect ( ) ; let prev_sequence_numbers = HashMap :: new ( ) ; Benchmarker { clients : arc_clients , stagger_range_ms , prev_sequence_numbers , } }
Construct Benchmarker with a vector of AC clients and a NodeDebugClient.
Construct Benchmarker with a vector of AC clients and a NodeDebugClient .
clients
Vec<AdmissionControlClient>
stagger_range_ms
u16
clients
Vec<AdmissionControlClient>
stagger_range_ms
u16