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

2
Cargo.lock generated
View File

@@ -1114,6 +1114,8 @@ dependencies = [
"epoll",
"libc",
"once_cell",
"serde",
"serde_json",
"ssh2",
"vmm-sys-util",
"wait-timeout",