fn timers()

in netbench/src/driver/thread.rs [326:340]


    fn timers<Q: timer::Query>(&self, query: &mut Q) -> timer::Result {
        self.timer.timers(query)?;
        match &self.op {
            Some(Op::Iterate { thread, .. })
            | Some(Op::IterateFor { thread, .. })
            | Some(Op::Profile { thread, .. }) => thread.timers(query)?,
            Some(Op::Scope { threads }) => {
                for thread in threads {
                    thread.timers(query)?;
                }
            }
            _ => {}
        }
        Ok(())
    }