Commit ee56fe2b by songxinkai

~

parent 0a60c893
......@@ -15,10 +15,9 @@ int main(int argc, const char *argv[]){
ram.SetFrequency(1.0);
ram.PrintCtrlsQueuesSize();
int addr_interval = std::stoi(argv[2]);
for (int i = 0; i < 16; ++i){
while (!ram.AccessCommand(long(20734016 + i * addr_interval), ramulator::Request::Type::READ, i)){
ram.WaitFor(0);
}
for (int i = 0; i < 10000; ++i){
while (!ram.AccessCommand(long(20734016 + i * addr_interval), ramulator::Request::Type::READ, i)){}
ram.WaitFor(100);
//ram.PrintCtrlsQueuesSize();
}
ram.WaitUntil(80000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment