nodebench

Function collect_stat_task

Source
pub(crate) async fn collect_stat_task(
    id: usize,
    provider: RootProvider<BoxTransport>,
    grps: bool,
    stat: Arc<RwLock<StatCollector>>,
    warn_up_blocks: usize,
    blocks_needed: usize,
    ping_time: TimeDelta,
) -> Result<()>