impemented mock testing
This commit is contained in:
@@ -8,6 +8,7 @@ pub struct HardwareDb {
|
||||
pub ecosystems: HashMap<String, Ecosystem>,
|
||||
pub quirks: Vec<Quirk>,
|
||||
pub discovery: Discovery,
|
||||
pub benchmarking: Benchmarking,
|
||||
pub preflight_checks: Vec<PreflightCheck>,
|
||||
}
|
||||
|
||||
@@ -72,6 +73,15 @@ pub struct Discovery {
|
||||
pub tools: HashMap<String, String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Clone)]
|
||||
pub struct Benchmarking {
|
||||
pub idle_duration_s: u64,
|
||||
pub stress_duration_min_s: u64,
|
||||
pub stress_duration_max_s: u64,
|
||||
pub cool_down_s: u64,
|
||||
pub power_steps_watts: Vec<f32>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Clone)]
|
||||
pub struct SensorDiscovery {
|
||||
pub temp_labels: Vec<String>,
|
||||
|
||||
Reference in New Issue
Block a user