mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.: bsd cpu
This commit is contained in:
@@ -112,7 +112,7 @@ Cpus parseBsdCpu(String raw) {
|
||||
if (percents.length != 3) return initCpuStatus;
|
||||
return initCpuStatus
|
||||
..now = [
|
||||
OneTimeCpuStatus('cpu', percents[0].toInt(), percents[1].toInt(), 0,
|
||||
percents[2].toInt(), 0, 0, 0)
|
||||
OneTimeCpuStatus('cpu', percents[0].toInt(), 0, 0,
|
||||
percents[2].toInt() + percents[1].toInt(), 0, 0, 0)
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user