Lines Matching refs:MemCommand
38 #include "MemCommand.h"
48 MemCommand::MemCommand(MemCommand::cmds type,
56 void MemCommand::setType(MemCommand::cmds _type)
61 MemCommand::cmds MemCommand::getType() const
66 void MemCommand::setBank(unsigned _bank)
71 unsigned MemCommand::getBank() const
77 int64_t MemCommand::getPrechargeOffset(const MemorySpecification& memSpec,
78 MemCommand::cmds type) const
93 if (type == MemCommand::RDA) {
109 } else if (type == MemCommand::WRA) { // Write with auto-precharge
128 } // MemCommand::getPrechargeOffset
130 void MemCommand::setTime(int64_t _timestamp)
135 int64_t MemCommand::getTimeInt64() const
140 MemCommand::cmds MemCommand::typeWithoutAutoPrechargeFlag() const
142 if (type == MemCommand::RDA) {
143 return MemCommand::RD;
144 } else if (type == MemCommand::WRA) {
145 return MemCommand::WR;