not sure what i did wrong

This commit is contained in:
Ben
2018-12-13 18:35:38 +00:00
parent 92de201651
commit 94fda54329
2 changed files with 2 additions and 1 deletions

View File

@@ -113,6 +113,7 @@ void CPU::CPU_POLL(CPU* cpu) {
cpu->CPU_Mutex.unlock();
// GET CURRENT CLOCK SPEED FROM COMMAND OUTPUT FROM LSCPU
std::vector<std::string> lscpu = execcommand("lscpu");
for (unsigned int i = 0; i < lscpu.size(); i++) {
std::regex MHz("CPU MHz.*?((?:[0-9].*))");

View File

@@ -17,7 +17,7 @@
// unsigned long totalhigh; /* Total high memory size */
// unsigned long freehigh; /* Available high memory size */
// unsigned int mem_unit; /* Memory unit size in bytes */
// char _f[20-2*sizeof(long)-sizeof(int)]; /* IDFK what this does, it doesnt work without it*/
// char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding for 64 bytes */
// };
Memory::Memory() {