38,42d37
< #include "mem/protocol/AccessType.hh"
< #include "mem/protocol/GenericRequestType.hh"
< #include "mem/protocol/MachineType.hh"
< #include "mem/protocol/MessageSizeType.hh"
< #include "mem/protocol/PrefetchBit.hh"
45d39
< #include "mem/ruby/network/Network.hh"
47d40
< #include "mem/ruby/system/MachineID.hh"
50,52d42
< class Set;
< class NetDest;
<
59,68d48
< inline bool
< multicast_retry()
< {
< if (RubySystem::getRandomization()) {
< return (random() & 0x1);
< } else {
< return true;
< }
< }
<
95,112d74
< inline int
< addressToInt(Address addr)
< {
< return (int)addr.getLineAddress();
< }
<
< inline bool
< long_enough_ago(Time event)
< {
< return ((get_time() - event) > 200);
< }
<
< inline int
< getAddThenMod(int addend1, int addend2, int modulus)
< {
< return (addend1 + addend2) % modulus;
< }
<
132,141d93
< inline Time
< getPreviousDelayedCycles(Time t1, Time t2)
< {
< if (RubySystem::getRandomization()) { // when randomizing delayed
< return 0;
< } else {
< return getTimeMinusTime(t1, t2);
< }
< }
<