HewlettPackard / quartz

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

fix a bug about pflush initialization #27

Closed zhangjaycee closed 6 years ago

zhangjaycee commented 6 years ago

The write_latency parsed for pflush from nvmemul.ini should be a int rather than a bool. And in my testing, the delay to insert in pflush sometimes may small than 0, which will cause a infinite loop. After fixing the bug, quartz now can emulate the clflush latency correctly.