mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
Basic support for advanced instructions
This commit is contained in:
6
main.c
6
main.c
@@ -1,5 +1,6 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "01h.h"
|
||||
#include "02h.h"
|
||||
#include "extended.h"
|
||||
|
||||
@@ -26,5 +27,10 @@ int main() {
|
||||
struct level2* level2 = fillLevel2(level2);
|
||||
debugLevel2(level2);
|
||||
freeLevel2(level2);
|
||||
|
||||
struct cpuInfo* cpu = getCPUInfo(cpu);
|
||||
debugCpuInfo(cpu);
|
||||
free(cpu);
|
||||
|
||||
printf("%s\n",getCPUName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user