hardwaredb/include/setcpu.h
ganome 22f6da97f4
Wrote a setCPU() function to take of setting properties on CPU
Currently not working! Unable to reference the
model.properties(mainclock)
2025-01-28 15:51:35 -07:00

10 lines
380 B
C++

void setCPU(){};
void setCPU(std::string model, float mainclock, float boostclock) {
mainclock = mainclock;
boostclock = boostclock;
// model.boostclock = boostclock; // This doesnt work because its not a vaild reference!
// Trying to use the local model var to call the global CPU class for that specific model
cout << "\n\n\n" << model << ".mainclock\n\n" << endl;
}