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