|
gem5 [DEVELOP-FOR-25.1]
|
The prefetch queue entry objects. More...
Public Member Functions | |
| PrefetchRequest (FetchDirectedPrefetcher &_owner, uint64_t _addr, ThreadID tid, o3::FTSeqNum ftn) | |
| bool | operator== (const int &a) const |
| void | createPkt () |
| Creates the packet that is send to the memory. | |
| void | finish (const Fault &fault, const RequestPtr &req, ThreadContext *tc, BaseMMU::Mode mode) override |
| void | startTranslation () |
| Issues the translation request. | |
| void | markDelayed () override |
| Signal that the translation has been delayed due to a hw page table walk. | |
| void | markCanceled () |
| bool | isCanceled () const |
| Public Member Functions inherited from gem5::BaseMMU::Translation | |
| virtual | ~Translation () |
| virtual bool | squashed () const |
| This function is used by the page table walker to determine if it should translate the a pending request or if the underlying request has been squashed. | |
Public Attributes | |
| FetchDirectedPrefetcher & | owner |
| Owner of the packet. | |
| const uint64_t | addr |
| The virtual address. | |
| const o3::FTSeqNum | ftn |
| The fetch target number that created this request. | |
| RequestPtr | req |
| The request and packet that will be sent to the cache. | |
| PacketPtr | pkt |
| Tick | readyTime |
| The time when the prefetch is ready to be sent to the cache. | |
| bool | canceled |
| Marks a Prefetch Request as canceled if notifyFTQRemove was called during translation. | |
| gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::PrefetchRequest | ( | FetchDirectedPrefetcher & | _owner, |
| uint64_t | _addr, | ||
| ThreadID | tid, | ||
| o3::FTSeqNum | ftn ) |
Definition at line 221 of file fdp.cc.
References addr, canceled, gem5::prefetch::FetchDirectedPrefetcher::FetchDirectedPrefetcher(), ftn, gem5::Request::INST_FETCH, gem5::MaxTick, owner, pkt, gem5::Request::PREFETCH, readyTime, and req.
| void gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::createPkt | ( | ) |
Creates the packet that is send to the memory.
Definition at line 242 of file fdp.cc.
References gem5::MemCmd::HardPFReq, pkt, gem5::context_switch_task_id::Prefetcher, and req.
|
overridevirtual |
Implements gem5::BaseMMU::Translation.
Definition at line 258 of file fdp.cc.
References gem5::ArmISA::mode, gem5::NoFault, owner, and req.
|
inline |
|
inline |
|
inlineoverridevirtual |
Signal that the translation has been delayed due to a hw page table walk.
Implements gem5::BaseMMU::Translation.
|
inline |
Definition at line 146 of file fdp.hh.
References gem5::ArmISA::a.
| void gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::startTranslation | ( | ) |
Issues the translation request.
Definition at line 250 of file fdp.cc.
References gem5::BaseMMU::Execute, owner, and req.
| const uint64_t gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::addr |
The virtual address.
Used to scan for redundant prefetches.
Definition at line 128 of file fdp.hh.
Referenced by PrefetchRequest().
| bool gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::canceled |
Marks a Prefetch Request as canceled if notifyFTQRemove was called during translation.
In this case the prefetch will not proceed to the prefetch queue.
Definition at line 143 of file fdp.hh.
Referenced by isCanceled(), markCanceled(), and PrefetchRequest().
| const o3::FTSeqNum gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::ftn |
The fetch target number that created this request.
Definition at line 131 of file fdp.hh.
Referenced by PrefetchRequest().
| FetchDirectedPrefetcher& gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::owner |
Owner of the packet.
Definition at line 125 of file fdp.hh.
Referenced by finish(), PrefetchRequest(), and startTranslation().
| PacketPtr gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::pkt |
Definition at line 135 of file fdp.hh.
Referenced by createPkt(), and PrefetchRequest().
| Tick gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::readyTime |
The time when the prefetch is ready to be sent to the cache.
Definition at line 138 of file fdp.hh.
Referenced by PrefetchRequest().
| RequestPtr gem5::prefetch::FetchDirectedPrefetcher::PrefetchRequest::req |
The request and packet that will be sent to the cache.
Definition at line 134 of file fdp.hh.
Referenced by createPkt(), finish(), PrefetchRequest(), and startTranslation().