9 lines
241 B
C++
9 lines
241 B
C++
#include "simulator.h"
|
|
using CacheSim::Simulator;
|
|
|
|
Simulator::Simulator(short setSize, short waySize, short tagSize){
|
|
this->setSize = setSize;
|
|
for(int i=0; i<setSize; i++){
|
|
this->sets.push_back(Set(waySize, tagSize));
|
|
}
|
|
} |