mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 18:24:08 +02:00
all stats are sync now
This commit is contained in:
parent
90dbaf071d
commit
289161fc6f
3 changed files with 2 additions and 5 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue