fix bugs
This commit is contained in:
parent
cece1b16ec
commit
bbeeddd2ca
@ -1167,7 +1167,7 @@ int GetSysStatusCMT(int& cpu_use,int& mem_use,int& disk_remain,int& cpu_temp)
|
|||||||
int temp = getSysIntValue(key);
|
int temp = getSysIntValue(key);
|
||||||
cpu_use = rateUser;
|
cpu_use = rateUser;
|
||||||
mem_use = fMemRate * 100;
|
mem_use = fMemRate * 100;
|
||||||
disk_remain = atoi(strhardFree.substr(0, strhardFree.length() - 1).c_str());
|
disk_remain = atoi(hardFree);
|
||||||
cpu_temp = temp / 1000.0;
|
cpu_temp = temp / 1000.0;
|
||||||
}
|
}
|
||||||
// 闁诲繐绻愬Λ妤€鐣烽悢鍝モ枖闁跨噦鎷<E599A6>16闁哄鏅滅粙鎴﹀春濡ゅ啠鍋撳☉娆樻畼妞ゆ垳鐒﹀顏堫敆娴gǹ绨ユ繛鎴炴尭閹碱偊顢氶鑺ュ劅闁哄啫鍊归悾閬嶆倵濞戞瑯娈欏┑鈽嗗弮瀹曟劙鏁撻敓锟<E69593>
|
// 闁诲繐绻愬Λ妤€鐣烽悢鍝モ枖闁跨噦鎷<E599A6>16闁哄鏅滅粙鎴﹀春濡ゅ啠鍋撳☉娆樻畼妞ゆ垳鐒﹀顏堫敆娴gǹ绨ユ繛鎴炴尭閹碱偊顢氶鑺ュ劅闁哄啫鍊归悾閬嶆倵濞戞瑯娈欏┑鈽嗗弮瀹曟劙鏁撻敓锟<E69593>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user