Fixed freq bug. Improved Makefile and fixed some minor errors

This commit is contained in:
Dr-Noob
2018-05-21 15:36:32 +02:00
parent 2628516460
commit 49d59d6708
5 changed files with 42 additions and 26 deletions

6
main.c
View File

@@ -25,12 +25,12 @@ Peak FLOPS: 512 GFLOP/s(in simple precision)
***/
int main() {
struct cpuInfo* cpu = getCPUInfo(cpu);
struct cpuInfo* cpu = getCPUInfo();
if(cpu == NULL)
return EXIT_FAILURE;
struct cache* cach = new_cache(cach);
struct frequency* freq = new_frequency(freq);
struct cache* cach = new_cache();
struct frequency* freq = new_frequency();
struct ascii* ascii = set_ascii(getCPUVendorInternal(cpu));
char* cpuName = getString_CPUName();