diff --git a/src/mem/dramsim2_wrapper.cc b/src/mem/dramsim2_wrapper.cc index c622c1cb57..b9bcf14c08 100644 --- a/src/mem/dramsim2_wrapper.cc +++ b/src/mem/dramsim2_wrapper.cc @@ -54,12 +54,6 @@ #include "base/compiler.hh" #include "base/logging.hh" -namespace gem5 -{ - -namespace memory -{ - /** * DRAMSim2 requires SHOW_SIM_OUTPUT to be defined (declared extern in * the DRAMSim2 print macros), otherwise we get linking errors due to @@ -67,6 +61,12 @@ namespace memory */ int SHOW_SIM_OUTPUT = 0; +namespace gem5 +{ + +namespace memory +{ + DRAMSim2Wrapper::DRAMSim2Wrapper(const std::string& config_file, const std::string& system_file, const std::string& working_dir,