17 lines
368 B
C++
17 lines
368 B
C++
#include <iostream>
|
|
|
|
#include "CoreInstance.h"
|
|
|
|
int main(int argc, char* argv[]) {
|
|
try {
|
|
CoreInstance core;
|
|
std::cout << "CPU: " << core.getCountCPU() << std::endl;
|
|
std::cout << "Memory: " << core.getMemorySize() << std::endl;
|
|
core.start();
|
|
} catch(std::exception& e) {
|
|
std::cout << "[!] Unknown error (" << e.what() << ")\n";
|
|
return -1;
|
|
}
|
|
return 0;
|
|
}
|