gem5  v21.0.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
AbstractController.hh
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017,2019-2021 ARM Limited
3  * All rights reserved.
4  *
5  * The license below extends only to copyright in the software and shall
6  * not be construed as granting a license to any other intellectual
7  * property including but not limited to intellectual property relating
8  * to a hardware implementation of the functionality of the software
9  * licensed hereunder. You may use the software subject to the license
10  * terms below provided that you ensure that this notice is replicated
11  * unmodified and in its entirety in all distributions of the software,
12  * modified or unmodified, in source code or in binary form.
13  *
14  * Copyright (c) 2009-2014 Mark D. Hill and David A. Wood
15  * All rights reserved.
16  *
17  * Redistribution and use in source and binary forms, with or without
18  * modification, are permitted provided that the following conditions are
19  * met: redistributions of source code must retain the above copyright
20  * notice, this list of conditions and the following disclaimer;
21  * redistributions in binary form must reproduce the above copyright
22  * notice, this list of conditions and the following disclaimer in the
23  * documentation and/or other materials provided with the distribution;
24  * neither the name of the copyright holders nor the names of its
25  * contributors may be used to endorse or promote products derived from
26  * this software without specific prior written permission.
27  *
28  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
29  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
30  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
31  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
32  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
33  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
34  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
38  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39  */
40 
41 #ifndef __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__
42 #define __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__
43 
44 #include <exception>
45 #include <iostream>
46 #include <string>
47 #include <unordered_map>
48 
49 #include "base/addr_range.hh"
50 #include "base/addr_range_map.hh"
51 #include "base/callback.hh"
52 #include "mem/packet.hh"
53 #include "mem/qport.hh"
60 #include "mem/ruby/protocol/AccessPermission.hh"
62 #include "params/RubyController.hh"
63 #include "sim/clocked_object.hh"
64 
65 class Network;
66 class GPUCoalescer;
67 class DMASequencer;
68 
69 // used to communicate that an in_port peeked the wrong message type
70 class RejectException: public std::exception
71 {
72  virtual const char* what() const throw()
73  { return "Port rejected message based on type"; }
74 };
75 
77 {
78  public:
79  PARAMS(RubyController);
80  AbstractController(const Params &p);
81  void init();
82 
83  NodeID getVersion() const { return m_machineID.getNum(); }
84  MachineType getType() const { return m_machineID.getType(); }
85 
86  void initNetworkPtr(Network* net_ptr) { m_net_ptr = net_ptr; }
87 
88  // return instance name
90  bool isBlocked(Addr) const;
91  void unblock(Addr);
92  bool isBlocked(Addr);
93 
94  virtual MessageBuffer* getMandatoryQueue() const = 0;
95  virtual MessageBuffer* getMemReqQueue() const = 0;
96  virtual MessageBuffer* getMemRespQueue() const = 0;
97  virtual AccessPermission getAccessPermission(const Addr &addr) = 0;
98 
99  virtual void print(std::ostream & out) const = 0;
100  virtual void wakeup() = 0;
101  virtual void resetStats() = 0;
102  virtual void regStats();
103 
104  virtual void recordCacheTrace(int cntrl, CacheRecorder* tr) = 0;
105  virtual Sequencer* getCPUSequencer() const = 0;
106  virtual DMASequencer* getDMASequencer() const = 0;
107  virtual GPUCoalescer* getGPUCoalescer() const = 0;
108 
109  // This latency is used by the sequencer when enqueueing requests.
110  // Different latencies may be used depending on the request type.
111  // This is the hit latency unless the top-level cache controller
112  // introduces additional cycles in the response path.
113  virtual Cycles mandatoryQueueLatency(const RubyRequestType& param_type)
114  { return m_mandatory_queue_latency; }
115 
118  virtual bool functionalReadBuffers(PacketPtr&) = 0;
119  virtual void functionalRead(const Addr &addr, PacketPtr)
120  { panic("functionalRead(Addr,PacketPtr) not implemented"); }
121 
124  virtual bool functionalReadBuffers(PacketPtr&, WriteMask &mask) = 0;
125  virtual void functionalRead(const Addr &addr, PacketPtr pkt,
126  WriteMask &mask)
127  { panic("functionalRead(Addr,PacketPtr,WriteMask) not implemented"); }
128 
132  virtual int functionalWriteBuffers(PacketPtr&) = 0;
133  virtual int functionalWrite(const Addr &addr, PacketPtr) = 0;
135 
137  virtual void enqueuePrefetch(const Addr &, const RubyRequestType&)
138  { fatal("Prefetches not implemented!");}
139 
142  virtual void notifyCoalesced(const Addr& addr,
143  const RubyRequestType& type,
144  const RequestPtr& req,
145  const DataBlock& data_blk,
146  const bool& was_miss)
147  { }
148 
152  virtual void collateStats()
153  {fatal("collateStats() should be overridden!");}
154 
156  virtual void initNetQueues() = 0;
157 
159  Port &getPort(const std::string &if_name,
160  PortID idx=InvalidPortID);
161 
162  void recvTimingResp(PacketPtr pkt);
164 
165  const AddrRangeList &getAddrRanges() const { return addrRanges; }
166 
167  public:
168  MachineID getMachineID() const { return m_machineID; }
169  RequestorID getRequestorId() const { return m_id; }
170 
173  { return *(stats.delayVCHistogram[index]); }
174 
176  {
177  for (auto &range: addrRanges)
178  if (range.contains(addr)) return true;
179  return false;
180  }
181 
195  MachineID mapAddressToMachine(Addr addr, MachineType mtype) const;
196 
209  MachineType mtype = MachineType_NUM) const;
210 
212 
213  protected:
215  void profileRequest(const std::string &request);
217  void profileMsgDelay(uint32_t virtualNetwork, Cycles delay);
218 
219  // Tracks outstanding transactions for latency profiling
220  struct TransMapPair { unsigned transaction; unsigned state; Tick time; };
221  std::unordered_map<Addr, TransMapPair> m_inTrans;
222  std::unordered_map<Addr, TransMapPair> m_outTrans;
223 
234  template<typename EventType, typename StateType>
236  EventType type, StateType initialState, bool retried)
237  {
238  assert(m_inTrans.find(addr) == m_inTrans.end());
239  m_inTrans[addr] = {type, initialState, curTick()};
240  if (retried)
242  }
243 
250  template<typename StateType>
251  void incomingTransactionEnd(Addr addr, StateType finalState)
252  {
253  auto iter = m_inTrans.find(addr);
254  assert(iter != m_inTrans.end());
255  stats.inTransLatHist[iter->second.transaction]
256  [iter->second.state]
257  [(unsigned)finalState]->sample(
258  ticksToCycles(curTick() - iter->second.time));
259  ++(*stats.inTransLatTotal[iter->second.transaction]);
260  m_inTrans.erase(iter);
261  }
262 
270  template<typename EventType>
272  {
273  assert(m_outTrans.find(addr) == m_outTrans.end());
274  m_outTrans[addr] = {type, 0, curTick()};
275  }
276 
283  void outgoingTransactionEnd(Addr addr, bool retried)
284  {
285  auto iter = m_outTrans.find(addr);
286  assert(iter != m_outTrans.end());
287  stats.outTransLatHist[iter->second.transaction]->sample(
288  ticksToCycles(curTick() - iter->second.time));
289  if (retried)
290  ++(*stats.outTransLatHistRetries[iter->second.transaction]);
291  m_outTrans.erase(iter);
292  }
293 
294  void stallBuffer(MessageBuffer* buf, Addr addr);
295  void wakeUpBuffer(MessageBuffer* buf, Addr addr);
296  void wakeUpBuffers(Addr addr);
297  void wakeUpAllBuffers(Addr addr);
298  void wakeUpAllBuffers();
299  bool serviceMemoryQueue();
300 
301  protected:
305 
306  // RequestorID used by some components of gem5.
308 
311  std::map<Addr, MessageBuffer*> m_block_map;
312 
314  typedef std::set<MessageBuffer*> MsgBufType;
315  typedef std::map<Addr, MsgVecType* > WaitingBufType;
317 
318  unsigned int m_in_ports;
319  unsigned int m_cur_in_port;
320  const int m_number_of_TBEs;
322  const unsigned int m_buffer_size;
325 
330  class MemoryPort : public RequestPort
331  {
332  private:
333  // Controller that operates this port.
335 
336  public:
337  MemoryPort(const std::string &_name, AbstractController *_controller,
338  PortID id = InvalidPortID);
339 
340  protected:
341  // Function for receiving a timing response from the peer port.
342  // Currently the pkt is handed to the coherence controller
343  // associated with this port.
344  bool recvTimingResp(PacketPtr pkt);
345 
346  void recvReqRetry();
347  };
348 
349  /* Request port to the memory controller. */
351 
352  // State that is stored in packets sent to the memory controller.
354  {
355  // Id of the machine from which the request originated.
357 
359  {}
360  };
361 
362  private:
365 
366  typedef std::unordered_map<MachineType, MachineID> AddrMapEntry;
367 
369 
371 
372  public:
374  {
375  ControllerStats(Stats::Group *parent);
376 
377  // Initialized by the SLICC compiler for all combinations of event and
378  // states. Only histograms with samples will appear in the stats
383 
384  // Initialized by the SLICC compiler for all events.
385  // Only histograms with samples will appear in the stats.
388 
392 
397  } stats;
398 
399 };
400 
401 #endif // __MEM_RUBY_SLICC_INTERFACE_ABSTRACTCONTROLLER_HH__
AbstractController::m_clusterID
const NodeID m_clusterID
Definition: AbstractController.hh:304
MachineID.hh
fatal
#define fatal(...)
This implements a cprintf based fatal() function.
Definition: logging.hh:183
AbstractController::blockOnQueue
void blockOnQueue(Addr, MessageBuffer *)
Definition: AbstractController.cc:306
AbstractController::print
virtual void print(std::ostream &out) const =0
AbstractController::ControllerStats::delayHistogram
Stats::Histogram delayHistogram
Histogram for profiling delay for the messages this controller cares for.
Definition: AbstractController.hh:395
CacheRecorder
Definition: CacheRecorder.hh:66
AbstractController::getVersion
NodeID getVersion() const
Definition: AbstractController.hh:83
AbstractController::m_waiting_buffers
WaitingBufType m_waiting_buffers
Definition: AbstractController.hh:316
AbstractController::functionalRead
virtual void functionalRead(const Addr &addr, PacketPtr pkt, WriteMask &mask)
Definition: AbstractController.hh:125
AbstractController::functionalWriteBuffers
virtual int functionalWriteBuffers(PacketPtr &)=0
The return value indicates the number of messages written with the data from the packet.
AbstractController::incomingTransactionStart
void incomingTransactionStart(Addr addr, EventType type, StateType initialState, bool retried)
Profiles an event that initiates a protocol transactions for a specific line (e.g.
Definition: AbstractController.hh:235
AbstractController::m_mandatory_queue_latency
const Cycles m_mandatory_queue_latency
Definition: AbstractController.hh:324
AbstractController::SenderState
Definition: AbstractController.hh:353
Histogram.hh
AbstractController::profileRequest
void profileRequest(const std::string &request)
Profiles original cache requests including PUTs.
AbstractController::recvAtomic
Tick recvAtomic(PacketPtr pkt)
Definition: AbstractController.cc:391
MipsISA::index
Bitfield< 30, 0 > index
Definition: pra_constants.hh:44
AbstractController::MemoryPort::controller
AbstractController * controller
Definition: AbstractController.hh:334
Sequencer
Definition: Sequencer.hh:80
AbstractController::ControllerStats::outTransLatHist
std::vector< Stats::Histogram * > outTransLatHist
Definition: AbstractController.hh:386
AbstractController::ControllerStats
Definition: AbstractController.hh:373
InvalidPortID
const PortID InvalidPortID
Definition: types.hh:244
AbstractController::allDownstreamDest
const NetDest & allDownstreamDest() const
Definition: AbstractController.hh:211
MachineID::getType
MachineType getType() const
Definition: MachineID.hh:60
AbstractController::getMemReqQueue
virtual MessageBuffer * getMemReqQueue() const =0
AbstractController::getMandatoryQueue
virtual MessageBuffer * getMandatoryQueue() const =0
AbstractController::initNetworkPtr
void initNetworkPtr(Network *net_ptr)
Definition: AbstractController.hh:86
GPUCoalescer
Definition: GPUCoalescer.hh:209
DMASequencer
Definition: DMASequencer.hh:56
AbstractController::stallBuffer
void stallBuffer(MessageBuffer *buf, Addr addr)
Definition: AbstractController.cc:132
AbstractController::MemoryPort::recvTimingResp
bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
Definition: AbstractController.cc:429
AbstractController::wakeUpAllBuffers
void wakeUpAllBuffers()
Definition: AbstractController.cc:209
AbstractController::getAccessPermission
virtual AccessPermission getAccessPermission(const Addr &addr)=0
AbstractController::PARAMS
PARAMS(RubyController)
Tick
uint64_t Tick
Tick count type.
Definition: types.hh:59
AbstractController::mapAddressToMachine
MachineID mapAddressToMachine(Addr addr, MachineType mtype) const
Map an address to the correct MachineID.
Definition: AbstractController.cc:397
AbstractController::ControllerStats::delayVCHistogram
std::vector< Stats::Histogram * > delayVCHistogram
Definition: AbstractController.hh:396
AbstractController::ControllerStats::inTransLatHist
std::vector< std::vector< std::vector< Stats::Histogram * > > > inTransLatHist
Definition: AbstractController.hh:380
AbstractController::MemoryPort::MemoryPort
MemoryPort(const std::string &_name, AbstractController *_controller, PortID id=InvalidPortID)
Definition: AbstractController.cc:441
PortID
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
Definition: types.hh:243
AbstractController::getAddrRanges
const AddrRangeList & getAddrRanges() const
Definition: AbstractController.hh:165
RequestPtr
std::shared_ptr< Request > RequestPtr
Definition: request.hh:86
AbstractController::addrRanges
const AddrRangeList addrRanges
The address range to which the controller responds on the CPU side.
Definition: AbstractController.hh:364
std::vector< MessageBuffer * >
AbstractController::wakeup
virtual void wakeup()=0
AbstractController
Definition: AbstractController.hh:76
AbstractController::functionalRead
virtual void functionalRead(const Addr &addr, PacketPtr)
Definition: AbstractController.hh:119
AbstractController::m_cur_in_port
unsigned int m_cur_in_port
Definition: AbstractController.hh:319
AbstractController::mapAddressToDownstreamMachine
MachineID mapAddressToDownstreamMachine(Addr addr, MachineType mtype=MachineType_NUM) const
Maps an address to the correct dowstream MachineID (i.e.
Definition: AbstractController.cc:405
AbstractController::serviceMemoryQueue
bool serviceMemoryQueue()
Definition: AbstractController.cc:248
MachineID
Definition: MachineID.hh:50
MachineID::getNum
NodeID getNum() const
Definition: MachineID.hh:61
AbstractController::isBlocked
bool isBlocked(Addr) const
Definition: AbstractController.cc:313
AbstractController::TransMapPair::time
Tick time
Definition: AbstractController.hh:220
ClockedObject
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
Definition: clocked_object.hh:231
DataBlock
Definition: DataBlock.hh:54
AbstractController::functionalReadBuffers
virtual bool functionalReadBuffers(PacketPtr &)=0
These functions are used by ruby system to read/write the data blocks that exist with in the controll...
packet.hh
Stats::Histogram
A simple histogram stat.
Definition: statistics.hh:2126
Stats::Scalar
This is a simple scalar statistic, like a counter.
Definition: statistics.hh:1933
AbstractController::TransMapPair::transaction
unsigned transaction
Definition: AbstractController.hh:220
RequestorID
uint16_t RequestorID
Definition: request.hh:89
AbstractController::wakeUpBuffers
void wakeUpBuffers(Addr addr)
Definition: AbstractController.cc:168
AbstractController::unblock
void unblock(Addr)
Definition: AbstractController.cc:319
AbstractController::SenderState::id
MachineID id
Definition: AbstractController.hh:356
AbstractController::memoryPort
MemoryPort memoryPort
Definition: AbstractController.hh:350
AbstractController::TransMapPair::state
unsigned state
Definition: AbstractController.hh:220
ClockedObject::Params
ClockedObjectParams Params
Parameters of ClockedObject.
Definition: clocked_object.hh:237
AbstractController::regStats
virtual void regStats()
Callback to set stat parameters.
Definition: AbstractController.cc:118
Packet::SenderState
A virtual base opaque structure used to hold state associated with the packet (e.g....
Definition: packet.hh:432
AbstractController::m_in_ports
unsigned int m_in_ports
Definition: AbstractController.hh:318
AbstractController::m_transitions_per_cycle
const int m_transitions_per_cycle
Definition: AbstractController.hh:321
addr_range_map.hh
AbstractController::m_net_ptr
Network * m_net_ptr
Definition: AbstractController.hh:309
RejectException::what
virtual const char * what() const
Definition: AbstractController.hh:72
AbstractController::wakeUpBuffer
void wakeUpBuffer(MessageBuffer *buf, Addr addr)
Definition: AbstractController.cc:146
AbstractController::TransMapPair
Definition: AbstractController.hh:220
DataBlock.hh
AbstractController::m_is_blocking
bool m_is_blocking
Definition: AbstractController.hh:310
Port
Ports are used to interface objects to each other.
Definition: port.hh:56
Consumer
Definition: Consumer.hh:55
RejectException
Definition: AbstractController.hh:70
AbstractController::getDelayVCHist
Stats::Histogram & getDelayVCHist(uint32_t index)
Definition: AbstractController.hh:172
AddrRangeMap< AddrMapEntry, 3 >
AbstractController::functionalMemoryWrite
int functionalMemoryWrite(PacketPtr)
Definition: AbstractController.cc:349
AbstractController::recvTimingResp
void recvTimingResp(PacketPtr pkt)
Definition: AbstractController.cc:359
AbstractController::WaitingBufType
std::map< Addr, MsgVecType * > WaitingBufType
Definition: AbstractController.hh:315
AbstractController::m_block_map
std::map< Addr, MessageBuffer * > m_block_map
Definition: AbstractController.hh:311
AbstractController::m_machineID
MachineID m_machineID
Definition: AbstractController.hh:303
AbstractController::MemoryPort
Port that forwards requests and receives responses from the memory controller.
Definition: AbstractController.hh:330
AbstractController::m_outTrans
std::unordered_map< Addr, TransMapPair > m_outTrans
Definition: AbstractController.hh:222
RequestPort
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
Definition: port.hh:74
AbstractController::collateStats
virtual void collateStats()
Function for collating statistics from all the controllers of this particular type.
Definition: AbstractController.hh:152
AbstractController::AddrMapEntry
std::unordered_map< MachineType, MachineID > AddrMapEntry
Definition: AbstractController.hh:366
AbstractController::recordCacheTrace
virtual void recordCacheTrace(int cntrl, CacheRecorder *tr)=0
AbstractController::outgoingTransactionStart
void outgoingTransactionStart(Addr addr, EventType type)
Profiles an event that initiates a transaction in a peer controller (e.g.
Definition: AbstractController.hh:271
Addr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:148
Network
Definition: Network.hh:76
AbstractController::m_buffer_size
const unsigned int m_buffer_size
Definition: AbstractController.hh:322
AbstractController::getDelayHist
Stats::Histogram & getDelayHist()
Definition: AbstractController.hh:171
AbstractController::functionalWrite
virtual int functionalWrite(const Addr &addr, PacketPtr)=0
addr_range.hh
AbstractController::init
void init()
init() is called after all C++ SimObjects have been created and all ports are connected.
Definition: AbstractController.cc:70
AbstractController::incomingTransactionEnd
void incomingTransactionEnd(Addr addr, StateType finalState)
Profiles an event that ends a transaction.
Definition: AbstractController.hh:251
X86ISA::addr
Bitfield< 3 > addr
Definition: types.hh:80
AbstractController::getPort
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID)
A function used to return the port associated with this bus object.
Definition: AbstractController.cc:334
MessageBuffer.hh
AbstractController::ControllerStats::fullyBusyCycles
Stats::Scalar fullyBusyCycles
Counter for the number of cycles when the transitions carried out were equal to the maximum allowed.
Definition: AbstractController.hh:391
AbstractController::notifyCoalesced
virtual void notifyCoalesced(const Addr &addr, const RubyRequestType &type, const RequestPtr &req, const DataBlock &data_blk, const bool &was_miss)
Notifies controller of a request coalesced at the sequencer.
Definition: AbstractController.hh:142
Consumer.hh
Address.hh
qport.hh
Clocked::ticksToCycles
Cycles ticksToCycles(Tick t) const
Definition: clocked_object.hh:219
clocked_object.hh
Packet
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Definition: packet.hh:258
AbstractController::getType
MachineType getType() const
Definition: AbstractController.hh:84
AbstractController::stats
AbstractController::ControllerStats stats
AbstractController::m_id
const RequestorID m_id
Definition: AbstractController.hh:307
Stats::Group
Statistics container.
Definition: group.hh:87
AbstractController::MemoryPort::recvReqRetry
void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
Definition: AbstractController.cc:436
Cycles
Cycles is a wrapper class for representing cycle counts, i.e.
Definition: types.hh:79
AbstractController::m_recycle_latency
Cycles m_recycle_latency
Definition: AbstractController.hh:323
NodeID
unsigned int NodeID
Definition: TypeDefines.hh:34
X86ISA::type
type
Definition: misc.hh:727
AbstractController::ControllerStats::inTransLatRetries
std::vector< Stats::Scalar * > inTransLatRetries
Definition: AbstractController.hh:381
AbstractController::MsgBufType
std::set< MessageBuffer * > MsgBufType
Definition: AbstractController.hh:314
curTick
Tick curTick()
The universal simulation clock.
Definition: cur_tick.hh:43
AbstractController::AbstractController
AbstractController(const Params &p)
Definition: AbstractController.cc:50
AbstractController::m_version
const NodeID m_version
Definition: AbstractController.hh:302
AbstractController::enqueuePrefetch
virtual void enqueuePrefetch(const Addr &, const RubyRequestType &)
Function for enqueuing a prefetch request.
Definition: AbstractController.hh:137
AbstractController::m_inTrans
std::unordered_map< Addr, TransMapPair > m_inTrans
Definition: AbstractController.hh:221
MipsISA::p
Bitfield< 0 > p
Definition: pra_constants.hh:323
std::list< AddrRange >
MessageBuffer
Definition: MessageBuffer.hh:68
CacheRecorder.hh
AbstractController::profileMsgDelay
void profileMsgDelay(uint32_t virtualNetwork, Cycles delay)
Profiles the delay associated with messages.
Definition: AbstractController.cc:124
AbstractController::ControllerStats::outTransLatHistRetries
std::vector< Stats::Scalar * > outTransLatHistRetries
Definition: AbstractController.hh:387
AbstractController::downstreamAddrMap
AddrRangeMap< AddrMapEntry, 3 > downstreamAddrMap
Definition: AbstractController.hh:368
AbstractController::SenderState::SenderState
SenderState(MachineID _id)
Definition: AbstractController.hh:358
AbstractController::respondsTo
bool respondsTo(Addr addr)
Definition: AbstractController.hh:175
AbstractController::mandatoryQueueLatency
virtual Cycles mandatoryQueueLatency(const RubyRequestType &param_type)
Definition: AbstractController.hh:113
AbstractController::getCPUSequencer
virtual Sequencer * getCPUSequencer() const =0
AbstractController::getRequestorId
RequestorID getRequestorId() const
Definition: AbstractController.hh:169
AbstractController::m_number_of_TBEs
const int m_number_of_TBEs
Definition: AbstractController.hh:320
AbstractController::getMemRespQueue
virtual MessageBuffer * getMemRespQueue() const =0
WriteMask
Definition: WriteMask.hh:53
NetDest
Definition: NetDest.hh:39
AbstractController::initNetQueues
virtual void initNetQueues()=0
Initialize the message buffers.
AbstractController::downstreamDestinations
NetDest downstreamDestinations
Definition: AbstractController.hh:370
AbstractController::MsgVecType
std::vector< MessageBuffer * > MsgVecType
Definition: AbstractController.hh:313
callback.hh
ArmISA::mask
Bitfield< 28, 24 > mask
Definition: miscregs_types.hh:711
AbstractController::getMachineID
MachineID getMachineID() const
Definition: AbstractController.hh:168
AbstractController::outgoingTransactionEnd
void outgoingTransactionEnd(Addr addr, bool retried)
Profiles the end of an outgoing transaction.
Definition: AbstractController.hh:283
AbstractController::ControllerStats::inTransLatTotal
std::vector< Stats::Scalar * > inTransLatTotal
Definition: AbstractController.hh:382
panic
#define panic(...)
This implements a cprintf based panic() function.
Definition: logging.hh:171
AbstractController::getGPUCoalescer
virtual GPUCoalescer * getGPUCoalescer() const =0
AbstractController::getDMASequencer
virtual DMASequencer * getDMASequencer() const =0
AbstractController::ControllerStats::ControllerStats
ControllerStats(Stats::Group *parent)
Definition: AbstractController.cc:449
AbstractController::resetStats
virtual void resetStats()=0
Callback to reset stats.
Definition: AbstractController.cc:108
AbstractController::functionalMemoryRead
void functionalMemoryRead(PacketPtr)
Definition: AbstractController.cc:340

Generated on Tue Jun 22 2021 15:28:30 for gem5 by doxygen 1.8.17