not sure what i did wrong
This commit is contained in:
@@ -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].*))");
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user