mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
Formatting
This commit is contained in:
parent
14121a17f2
commit
11ec9f39ad
@ -186,7 +186,13 @@ fn print_stats(d: &DaemonConnection, gpu_id: u32) {
|
||||
println!(
|
||||
"{} {}{}",
|
||||
"Temperature:".green(),
|
||||
gpu_stats.temperatures.get("edge").unwrap().current.to_string().bold(),
|
||||
gpu_stats
|
||||
.temperatures
|
||||
.get("edge")
|
||||
.unwrap()
|
||||
.current
|
||||
.to_string()
|
||||
.bold(),
|
||||
"°C".bold(),
|
||||
);
|
||||
println!(
|
||||
|
@ -1,5 +1,8 @@
|
||||
use crate::{config::{GpuConfig, GpuIdentifier}, hw_mon::Temperature};
|
||||
use crate::hw_mon::{HWMon, HWMonError};
|
||||
use crate::{
|
||||
config::{GpuConfig, GpuIdentifier},
|
||||
hw_mon::Temperature,
|
||||
};
|
||||
use pciid_parser::{PciDatabase, VendorData};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
|
Loading…
Reference in New Issue
Block a user