Go to the documentation of this file.
46 #ifndef __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
47 #define __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
73 template<
typename Entry>
86 void print(std::ostream &
os,
int verbosity,
87 const std::string &prefix)
const;
176 const std::string &prefix =
"")
const override;
183 std::string
print()
const;
192 #endif // __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__
bool matchBlockAddr(const Addr addr, const bool is_secure) const override
Check if entry corresponds to the one being looked for.
bool sendPacket(BaseCache &cache) override
Send this queue entry as a downstream packet, with the exact behaviour depending on the specific entr...
Target * getTarget() override
Returns a reference to the first target.
A queue entry is holding packets that will be serviced as soon as resources are available.
Counter order
Order number assigned to disambiguate writes and misses.
TargetList targets
List of all requests that match the address.
WriteQueueEntry(const std::string &name)
A simple constructor.
Tick readyTime
Tick when ready to issue.
void print(std::ostream &os, int verbosity, const std::string &prefix) const
Iterator allocIter
Pointer to this entry on the allocated list.
Abstract base class for objects which support being printed to a stream for debugging.
virtual std::string name() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
std::string print() const
A no-args wrapper of print(std::ostream...) meant to be invoked from DPRINTFs avoiding string overhea...
List::iterator Iterator
WriteQueueEntry list iterator.
uint64_t Tick
Tick count type.
void add(PacketPtr pkt, Tick readyTime, Counter order)
bool trySatisfyFunctional(PacketPtr pkt)
void allocate(Addr blk_addr, unsigned blk_size, PacketPtr pkt, Tick when_ready, Counter _order)
Allocate a miss to this entry.
A high-level queue interface, to be used by both the MSHR queue and the write buffer.
void popTarget()
Pop first target.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A write queue for all eviction packets, i.e.
bool trySatisfyFunctional(PacketPtr pkt)
void deallocate()
Mark this entry as free.
double Counter
All counters are of 64-bit values.
A queue entry base class, to be used by both the MSHRs and write-queue entries.
int getNumTargets() const
Returns the current number of allocated targets.
Iterator readyIter
Pointer to this entry on the ready list.
bool hasTargets() const
Returns true if there are targets left.
bool conflictAddr(const QueueEntry *entry) const override
Check if given entry's packets conflict with this' entries packets.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
std::list< WriteQueueEntry * > List
A list of write queue entriess.
Generated on Sun Jul 30 2023 01:56:58 for gem5 by doxygen 1.8.17