Commit ee56fe2b by songxinkai

~

parent 0a60c893
...@@ -15,10 +15,9 @@ int main(int argc, const char *argv[]){ ...@@ -15,10 +15,9 @@ int main(int argc, const char *argv[]){
ram.SetFrequency(1.0); ram.SetFrequency(1.0);
ram.PrintCtrlsQueuesSize(); ram.PrintCtrlsQueuesSize();
int addr_interval = std::stoi(argv[2]); int addr_interval = std::stoi(argv[2]);
for (int i = 0; i < 16; ++i){ for (int i = 0; i < 10000; ++i){
while (!ram.AccessCommand(long(20734016 + i * addr_interval), ramulator::Request::Type::READ, i)){ while (!ram.AccessCommand(long(20734016 + i * addr_interval), ramulator::Request::Type::READ, i)){}
ram.WaitFor(0); ram.WaitFor(100);
}
//ram.PrintCtrlsQueuesSize(); //ram.PrintCtrlsQueuesSize();
} }
ram.WaitUntil(80000); 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