Go to the documentation of this file.
29 #ifndef __MEM_RUBY_COMMON_WRITEMASK_HH__
30 #define __MEM_RUBY_COMMON_WRITEMASK_HH__
82 for (
int i = 0;
i <
len;
i++) {
99 for (
int i = 0;
i <
len;
i++) {
111 if (readMask.
mMask.at(
i)) {
124 if (readMask.
mMask.at(
i)) {
166 void print(std::ostream& out)
const;
217 #endif // __MEM_RUBY_COMMON_WRITEMASK_HH__
WriteMask(int size, std::vector< bool > &mask, AtomicOpVector atomicOp)
bool cmpMask(const WriteMask &readMask) const
std::vector< bool > mMask
std::ostream & operator<<(std::ostream &out, const WriteMask &obj)
void setAtomicOps(const AtomicOpVector &atomicOps)
bool getMask(int offset, int len) const
WriteMask(int size, std::vector< bool > &mask)
bool isOverlap(const WriteMask &readMask) const
void performAtomic(DataBlock &blk) const
void print(std::ostream &out) const
const AtomicOpVector & getAtomicOps() const
uint8_t * getDataMod(int offset)
void setMask(int offset, int len)
void performAtomic(uint8_t *p) const
void orMask(const WriteMask &writeMask)
std::vector< std::pair< int, AtomicOpFunctor * > > AtomicOpVector
Generated on Wed Sep 30 2020 14:02:13 for gem5 by doxygen 1.8.17