CMU-SAFARI / MQSim

MQSim is a fast and accurate simulator modeling the performance of modern multi-queue (MQ) SSDs as well as traditional SATA based SSDs. MQSim faithfully models new high-bandwidth protocol implementations, steady-state SSD conditions, and the full end-to-end latency of requests in modern SSDs. It is described in detail in the FAST 2018 paper by Arash Tavakkol et al., "MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices" (https://people.inf.ethz.ch/omutlu/pub/MQSim-SSD-simulation-framework_fast18.pdf)
https://people.inf.ethz.ch/omutlu/pub/MQSim-SSD-simulation-framework_fast18.pdf
MIT License
269 stars 146 forks source link

Compilation failed in Linux (gcc-5) #10

Closed hoangt closed 6 years ago

hoangt commented 6 years ago

HostInterface_Type is ambitiously defined. The commit fb089651 still works with gcc-5 and Visual Studio may pass this failure.

src/exec/Device_Parameter_Set.h:22:28: error: declaration of ‘HostInterface_Type Device_Parameter_Set::HostInterface_Type’ [-fpermissive]
  static HostInterface_Type HostInterface_Type;
                            ^
In file included from src/exec/Device_Parameter_Set.h:5:0,
                 from src/exec/Execution_Parameter_Set.h:6,
                 from src/main.cpp:7:
src/exec/../ssd/Host_Interface_Defs.h:7:12: error: changes meaning of ‘HostInterface_Type’ from ‘enum class HostInterface_Type’ [-fpermissive]
 enum class HostInterface_Type { SATA, NVME };
hoangt commented 6 years ago

Latest commit resolved !