[v0.98][Refactoring] Unify the use of init_topology_struct and init_cache_struct

This commit is contained in:
Dr-Noob
2021-08-05 20:01:32 +02:00
parent 6ab6afc974
commit 44d4b3b553
5 changed files with 39 additions and 80 deletions

View File

@@ -162,6 +162,9 @@ char* get_str_l2(struct cache* cach);
char* get_str_l3(struct cache* cach);
char* get_str_freq(struct frequency* freq);
void init_topology_struct(struct topology* topo, struct cache* cach);
void init_cache_struct(struct cache* cach);
void free_cache_struct(struct cache* cach);
void free_freq_struct(struct frequency* freq);
void free_cpuinfo_struct(struct cpuInfo* cpu);