performance-metrics: Move some helper functions to test_infra

The helper functions for measuring and parsing the performance of
virtio-net and virtio-block devices are moved to the `test_infra` crate
so that they be reused for integration tests of rate limiter.

Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
Bo Chen
2022-08-24 11:44:30 -07:00
committed by Rob Bradford
parent ecaff8ff1b
commit d8a6725995
5 changed files with 302 additions and 304 deletions

View File

@@ -20,6 +20,7 @@ use std::{
thread,
time::Duration,
};
use test_infra::FioOps;
use thiserror::Error;
#[derive(Error, Debug)]