gem5  v20.1.0.0
Variables
dramsim2_wrapper.cc File Reference
#include <cassert>
#include "mem/dramsim2_wrapper.hh"
#include <fstream>
#include "DRAMSim2/MultiChannelMemorySystem.h"
#include "base/compiler.hh"
#include "base/logging.hh"

Go to the source code of this file.

Variables

int SHOW_SIM_OUTPUT = 0
 When building the debug binary, we need to undo the command-line definition of DEBUG not to clash with DRAMSim2 print macros that are included for no obvious reason. More...
 

Variable Documentation

◆ SHOW_SIM_OUTPUT

int SHOW_SIM_OUTPUT = 0

When building the debug binary, we need to undo the command-line definition of DEBUG not to clash with DRAMSim2 print macros that are included for no obvious reason.

DRAMSim2 requires SHOW_SIM_OUTPUT to be defined (declared extern in the DRAMSim2 print macros), otherwise we get linking errors due to undefined references

Definition at line 62 of file dramsim2_wrapper.cc.

Referenced by DRAMSim2Wrapper::DRAMSim2Wrapper().


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17