HewlettPackard / quartz

Quartz: A DRAM-based performance emulator for NVM
https://github.com/HewlettPackard/quartz
Other
158 stars 66 forks source link

CPU support issue #5

Open wenwen412 opened 7 years ago

wenwen412 commented 7 years ago

Looks like by default, only 3 CPUs are supported:

In /src/lib/cpu/known_cpus.h line 21:

cpu_model_t* known_cpus[] = { &cpu_model_intel_xeon_ex_v3, &cpu_model_intel_xeon_ex_v2, &cpu_model_intel_xeon_ex, 0 };

My question is, can we add our own CPU model names into this without causing any trouble, as long as the CPU I use is in the three processor families: Sandy Bridge, Ivy Bridge, and Haswell?

sarsanaee commented 7 years ago

@wenwen412 Please take a look at the hvolos's answer in the issue #4