removed somehting
This commit is contained in:
@@ -10,15 +10,7 @@ use sysinfo::{Components, Disks, System};
|
|||||||
use tokio::time::{interval, sleep, Instant};
|
use tokio::time::{interval, sleep, Instant};
|
||||||
|
|
||||||
// Windows specific imports
|
// Windows specific imports
|
||||||
use std::ffi::OsStr;
|
|
||||||
use std::os::windows::ffi::OsStrExt;
|
|
||||||
use std::ptr;
|
|
||||||
use systemstat::{Platform, System as SysStat};
|
use systemstat::{Platform, System as SysStat};
|
||||||
use winapi::shared::winerror::ERROR_SUCCESS;
|
|
||||||
use winapi::um::pdh::PDH_FMT_COUNTERVALUE;
|
|
||||||
use winapi::um::pdh::{
|
|
||||||
PdhAddCounterW, PdhCollectQueryData, PdhGetFormattedCounterValue, PdhOpenQueryW, PDH_FMT_DOUBLE,
|
|
||||||
};
|
|
||||||
|
|
||||||
// Data structures matching the C# DTOs
|
// Data structures matching the C# DTOs
|
||||||
#[derive(Serialize, Debug)]
|
#[derive(Serialize, Debug)]
|
||||||
|
Reference in New Issue
Block a user