Go to the documentation of this file.
41 #ifndef __CPU_MEMTEST_MEMTEST_HH__
42 #define __CPU_MEMTEST_MEMTEST_HH__
45 #include <unordered_map>
49 #include "params/MemTest.hh"
190 #endif // __CPU_MEMTEST_MEMTEST_HH__
void recvTimingSnoopReq(PacketPtr pkt)
Receive a timing snoop request from the peer.
EventFunctionWrapper noResponseEvent
const PortID InvalidPortID
CpuPort(const std::string &_name, MemTest &_memtest)
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
const bool suppressFuncErrors
uint64_t Tick
Tick count type.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
const Cycles progressCheck
void recvFunctionalSnoop(PacketPtr pkt)
Receive a functional snoop request packet from the peer.
MemTestStats(Stats::Group *parent)
const unsigned percentUncacheable
const unsigned progressInterval
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
EventFunctionWrapper tickEvent
const unsigned percentReads
std::unordered_map< Addr, uint8_t > referenceData
This is a simple scalar statistic, like a counter.
Addr blockAlign(Addr addr) const
Get the block aligned address.
bool sendPkt(PacketPtr pkt)
Ports are used to interface objects to each other.
std::set< Addr > outstandingAddrs
bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
The MemTest class tests a cache coherent memory system by generating false sharing and verifying the ...
const unsigned percentFunctional
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
MemTest::MemTestStats stats
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
RequestorID requestorId
Request id for all generated traffic.
Cycles is a wrapper class for representing cycle counts, i.e.
EventFunctionWrapper noRequestEvent
Tick recvAtomicSnoop(PacketPtr pkt)
Receive an atomic snoop request packet from our peer.
void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
void completeRequest(PacketPtr pkt, bool functional=false)
Complete a request by checking the response.
Generated on Wed Sep 30 2020 14:02:09 for gem5 by doxygen 1.8.17