all stats are sync now

This commit is contained in:
Robin Appelman 2021-03-28 22:33:01 +02:00
commit 289161fc6f
3 changed files with 2 additions and 5 deletions

View file

@ -2,11 +2,9 @@ use iai::black_box;
use palantir::get_metrics;
use palantir::sensors::{cpu_time, disk_stats, disk_usage, memory, network_stats, temperatures};
use palantir::zfs::pools;
use tokio::runtime::Runtime;
fn iai_get_metrics() -> String {
let rt = Runtime::new().unwrap();
rt.block_on(async { black_box(get_metrics().await.unwrap()) })
black_box(get_metrics().unwrap())
}
fn iai_zfs_pool() {