#include "block.h" #include #include using std::vector; using std::tuple; using CacheSim::Block; namespace CacheSim{ class Set { private: short waySize; short emptySize; short replacePolicy; vector blocks; public: Set(short waySize, short tagSize, short replacePolicy); tuple read(vector tag, short offset); void countAccess(short baseAccessTime); }; }