Add support to detect if HT/SMT is enabled or disabled

This commit is contained in:
Dr-Noob
2020-07-03 16:11:09 +02:00
parent d43229359a
commit b076189b32
4 changed files with 115 additions and 41 deletions

View File

@@ -41,7 +41,7 @@ char* get_str_l3(struct cache* cach, struct topology* topo);
char* get_str_freq(struct frequency* freq);
char* get_str_sockets(struct topology* topo);
char* get_str_topology(struct topology* topo, bool dual_socket);
char* get_str_topology(struct cpuInfo* cpu, struct topology* topo, bool dual_socket);
char* get_str_peak_performance(struct cpuInfo* cpu, struct topology* topo, int64_t freq);