Skip to content

Commit 9754de0

Browse files
committed
Update static initializer for MARSSx86 in DRAMSim.h
1 parent d0045b1 commit 9754de0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DRAMSim.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace DRAMSim
5757
TransactionCompleteCB *writeDone,
5858
void (*reportPower)(double bgpower, double burstpower, double refreshpower, double actprepower));
5959
};
60-
MultiChannelMemorySystem *getMemorySystemInstance(const string &dev, const string &sys, const string &pwd, const string &trc, unsigned megsOfMemory);
60+
MultiChannelMemorySystem *getMemorySystemInstance(const string &dev, const string &sys, const string &pwd, const string &trc, unsigned megsOfMemory, std::string *visfilename=NULL);
6161
}
6262

6363
#endif

MultiChannelMemorySystem.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ void MultiChannelMemorySystem::RegisterCallbacks(
502502
}
503503
}
504504
namespace DRAMSim {
505-
MultiChannelMemorySystem *getMemorySystemInstance(const string &dev, const string &sys, const string &pwd, const string &trc, unsigned megsOfMemory)
505+
MultiChannelMemorySystem *getMemorySystemInstance(const string &dev, const string &sys, const string &pwd, const string &trc, unsigned megsOfMemory, string *visfilename)
506506
{
507-
return new MultiChannelMemorySystem(dev, sys, pwd, trc, megsOfMemory);
507+
return new MultiChannelMemorySystem(dev, sys, pwd, trc, megsOfMemory, visfilename);
508508
}
509509
}

0 commit comments

Comments
 (0)