41 lines
717 B
C++
41 lines
717 B
C++
|
|
#pragma once
|
|
using namespace std;
|
|
|
|
class Hardware {
|
|
|
|
public:
|
|
std::string manufacturer;
|
|
std::string model;
|
|
int ReleasedYear;
|
|
};
|
|
|
|
class CPU: public Hardware {
|
|
public:
|
|
bool Bit64;
|
|
int cores;
|
|
int threads;
|
|
int pcielanes;
|
|
int maxram;
|
|
float mainclock;
|
|
float boostclock;
|
|
std::string architecture;
|
|
|
|
std::string getmanufacturer(std::string manufacturer){
|
|
return manufacturer;
|
|
};
|
|
};
|
|
|
|
std::string a7800x3d(std::string man){
|
|
CPU A7800x3d;
|
|
A7800x3d.manufacturer = "AMD";
|
|
return man;
|
|
};
|
|
|
|
// CPU A7800x3d;
|
|
// A7800x3d.manufacturer = "AMD";
|
|
// A7800x3d.ReleasedYear = 2024;
|
|
// A7800x3d.architecture = "Zen 4";
|
|
// A7800x3d.boostclock = 5.2;
|
|
// A7800x3d.mainclock = 4.8;
|