hardwaredb/main.cpp

29 lines
917 B
C++

#include <iostream>
#include <string>
#include "lists/hardware.h"
#include "lists/cpu.h"
#include "include/setcpu.h"
#include "include/sethardware.h"
int main() {
using namespace std;
genCPUclasses();
//Testing the new dictionaries
// cout << "Lets try the setCPU function!\n";
// cout << "A7800x3d main clock speed is: " << line->HardwareSpecs["mainclock"] << endl;
// setHardwaremanufacturer(A7800x3d, "AMD");
// setCPUcores(A7800x3d, "cores", 8);
// setCPUthreads(A7800x3d, "threads", 16);
// setCPUmainclock(A7800x3d, "mainclock", "4.8 Ghz");
// setCPUboostclock(A7800x3d, "boostclock", "5.2 ghz");
// cout << "\n\nA7800x3d new main/boost speed is: " << A7800x3d->HardwareSpecs["mainclock"] << "/" << A7800x3d->HardwareSpecs["boostclock"] << endl;
// cout << "A7800x3d manufacturer is: " << A7800x3d->HardwareSpecs["manufacturer"] << "\n\n\n";
system("sleep 1s");
return 0;
}