* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_ABSTRACTREPLACEMENTPOLICY_HH__
-#define __MEM_RUBY_SYSTEM_ABSTRACTREPLACEMENTPOLICY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_ABSTRACTREPLACEMENTPOLICY_HH__
+#define __MEM_RUBY_STRUCTURES_ABSTRACTREPLACEMENTPOLICY_HH__
#include "base/types.hh"
return m_last_ref_ptr[set][way];
}
-#endif // __MEM_RUBY_SYSTEM_ABSTRACTREPLACEMENTPOLICY_HH__
+#endif // __MEM_RUBY_STRUCTURES_ABSTRACTREPLACEMENTPOLICY_HH__
*
*/
-#ifndef __MEM_RUBY_SYSTEM_BANKEDARRAY_HH__
-#define __MEM_RUBY_SYSTEM_BANKEDARRAY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_BANKEDARRAY_HH__
+#define __MEM_RUBY_STRUCTURES_BANKEDARRAY_HH__
#include <vector>
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_CACHEMEMORY_HH__
-#define __MEM_RUBY_SYSTEM_CACHEMEMORY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_CACHEMEMORY_HH__
+#define __MEM_RUBY_STRUCTURES_CACHEMEMORY_HH__
#include <string>
#include <vector>
std::ostream& operator<<(std::ostream& out, const CacheMemory& obj);
-#endif // __MEM_RUBY_SYSTEM_CACHEMEMORY_HH__
+#endif // __MEM_RUBY_STRUCTURES_CACHEMEMORY_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_DIRECTORYMEMORY_HH__
-#define __MEM_RUBY_SYSTEM_DIRECTORYMEMORY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__
+#define __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__
#include <iostream>
#include <string>
return out;
}
-#endif // __MEM_RUBY_SYSTEM_DIRECTORYMEMORY_HH__
+#endif // __MEM_RUBY_STRUCTURES_DIRECTORYMEMORY_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_LRUPOLICY_HH__
-#define __MEM_RUBY_SYSTEM_LRUPOLICY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_LRUPOLICY_HH__
+#define __MEM_RUBY_STRUCTURES_LRUPOLICY_HH__
#include "mem/ruby/structures/AbstractReplacementPolicy.hh"
return smallest_index;
}
-#endif // __MEM_RUBY_SYSTEM_LRUPOLICY_HH__
+#endif // __MEM_RUBY_STRUCTURES_LRUPOLICY_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_ABSTRACT_MEMORY_CONTROL_HH__
-#define __MEM_RUBY_SYSTEM_ABSTRACT_MEMORY_CONTROL_HH__
+#ifndef __MEM_RUBY_STRUCTURES_ABSTRACT_MEMORY_CONTROL_HH__
+#define __MEM_RUBY_STRUCTURES_ABSTRACT_MEMORY_CONTROL_HH__
#include <iostream>
#include <list>
MemCntrlEvent m_event;
};
-#endif // __MEM_RUBY_SYSTEM_ABSTRACT_MEMORY_CONTROL_HH__
+#endif // __MEM_RUBY_STRUCTURES_ABSTRACT_MEMORY_CONTROL_HH__
* message is enqueued to be sent back to the directory.
*/
-#ifndef __MEM_RUBY_SYSTEM_MEMORYNODE_HH__
-#define __MEM_RUBY_SYSTEM_MEMORYNODE_HH__
+#ifndef __MEM_RUBY_STRUCTURES_MEMORYNODE_HH__
+#define __MEM_RUBY_STRUCTURES_MEMORYNODE_HH__
#include <iostream>
return out;
}
-#endif // __MEM_RUBY_SYSTEM_MEMORYNODE_HH__
+#endif // __MEM_RUBY_STRUCTURES_MEMORYNODE_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_MEMORYVECTOR_HH__
-#define __MEM_RUBY_SYSTEM_MEMORYVECTOR_HH__
+#ifndef __MEM_RUBY_STRUCTURES_MEMORYVECTOR_HH__
+#define __MEM_RUBY_STRUCTURES_MEMORYVECTOR_HH__
#include "base/trace.hh"
#include "debug/RubyCacheTrace.hh"
}
}
-#endif // __MEM_RUBY_SYSTEM_MEMORYVECTOR_HH__
+#endif // __MEM_RUBY_STRUCTURES_MEMORYVECTOR_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_PERFECTCACHEMEMORY_HH__
-#define __MEM_RUBY_SYSTEM_PERFECTCACHEMEMORY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_PERFECTCACHEMEMORY_HH__
+#define __MEM_RUBY_STRUCTURES_PERFECTCACHEMEMORY_HH__
#include "base/hashmap.hh"
#include "mem/protocol/AccessPermission.hh"
{
}
-#endif // __MEM_RUBY_SYSTEM_PERFECTCACHEMEMORY_HH__
+#endif // __MEM_RUBY_STRUCTURES_PERFECTCACHEMEMORY_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_PERSISTENTTABLE_HH__
-#define __MEM_RUBY_SYSTEM_PERSISTENTTABLE_HH__
+#ifndef __MEM_RUBY_STRUCTURES_PERSISTENTTABLE_HH__
+#define __MEM_RUBY_STRUCTURES_PERSISTENTTABLE_HH__
#include <iostream>
return out;
}
-#endif // __MEM_RUBY_SYSTEM_PERSISTENTTABLE_HH__
+#endif // __MEM_RUBY_STRUCTURES_PERSISTENTTABLE_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_PSEUDOLRUPOLICY_HH__
-#define __MEM_RUBY_SYSTEM_PSEUDOLRUPOLICY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_PSEUDOLRUPOLICY_HH__
+#define __MEM_RUBY_STRUCTURES_PSEUDOLRUPOLICY_HH__
#include "mem/ruby/structures/AbstractReplacementPolicy.hh"
return (index > (m_assoc - 1)) ? m_assoc - 1 : index;
}
-#endif // __MEM_RUBY_SYSTEM_PSEUDOLRUPOLICY_HH__
+#endif // __MEM_RUBY_STRUCTURES_PSEUDOLRUPOLICY_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_MEMORY_CONTROL_HH__
-#define __MEM_RUBY_SYSTEM_MEMORY_CONTROL_HH__
+#ifndef __MEM_RUBY_STRUCTURES_MEMORY_CONTROL_HH__
+#define __MEM_RUBY_STRUCTURES_MEMORY_CONTROL_HH__
#include <iostream>
#include <list>
std::ostream& operator<<(std::ostream& out, const RubyMemoryControl& obj);
-#endif // __MEM_RUBY_SYSTEM_MEMORY_CONTROL_HH__
+#endif // __MEM_RUBY_STRUCTURES_MEMORY_CONTROL_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_SPARSEMEMORY_HH__
-#define __MEM_RUBY_SYSTEM_SPARSEMEMORY_HH__
+#ifndef __MEM_RUBY_STRUCTURES_SPARSEMEMORY_HH__
+#define __MEM_RUBY_STRUCTURES_SPARSEMEMORY_HH__
#include <iostream>
#include <string>
Stats::Vector m_removes_per_level;
};
-#endif // __MEM_RUBY_SYSTEM_SPARSEMEMORY_HH__
+#endif // __MEM_RUBY_STRUCTURES_SPARSEMEMORY_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_TBETABLE_HH__
-#define __MEM_RUBY_SYSTEM_TBETABLE_HH__
+#ifndef __MEM_RUBY_STRUCTURES_TBETABLE_HH__
+#define __MEM_RUBY_STRUCTURES_TBETABLE_HH__
#include <iostream>
{
}
-#endif // __MEM_RUBY_SYSTEM_TBETABLE_HH__
+#endif // __MEM_RUBY_STRUCTURES_TBETABLE_HH__
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __MEM_RUBY_SYSTEM_TIMERTABLE_HH__
-#define __MEM_RUBY_SYSTEM_TIMERTABLE_HH__
+#ifndef __MEM_RUBY_STRUCTURES_TIMERTABLE_HH__
+#define __MEM_RUBY_STRUCTURES_TIMERTABLE_HH__
#include <cassert>
#include <iostream>
return out;
}
-#endif // __MEM_RUBY_SYSTEM_TIMERTABLE_HH__
+#endif // __MEM_RUBY_STRUCTURES_TIMERTABLE_HH__
*
*/
-#ifndef __MEM_RUBY_SYSTEM_WIREBUFFER_HH__
-#define __MEM_RUBY_SYSTEM_WIREBUFFER_HH__
+#ifndef __MEM_RUBY_STRUCTURES_WIREBUFFER_HH__
+#define __MEM_RUBY_STRUCTURES_WIREBUFFER_HH__
#include <iostream>
#include <string>
std::ostream& operator<<(std::ostream& out, const WireBuffer& obj);
-#endif // __MEM_RUBY_SYSTEM_WireBuffer_HH__
+#endif // __MEM_RUBY_STRUCTURES_WireBuffer_HH__