gem5
v20.1.0.0
|
Class for recording cache contents. More...
#include <CacheRecorder.hh>
Public Member Functions | |
void | print (std::ostream &out) const |
Public Attributes | |
int | m_cntrl_id |
Tick | m_time |
Addr | m_data_address |
Addr | m_pc_address |
RubyRequestType | m_type |
uint8_t | m_data [0] |
Class for recording cache contents.
Note that the last element of the class is an array of length zero. It is used for creating variable length object, so that while writing the data to a file one does not need to copy the meta data and the actual data separately.
Definition at line 54 of file CacheRecorder.hh.
void TraceRecord::print | ( | std::ostream & | out | ) | const |
Definition at line 39 of file CacheRecorder.cc.
Referenced by operator<<().
int TraceRecord::m_cntrl_id |
Definition at line 56 of file CacheRecorder.hh.
Referenced by CacheRecorder::addRecord(), CacheRecorder::enqueueNextFetchRequest(), and CacheRecorder::enqueueNextFlushRequest().
uint8_t TraceRecord::m_data[0] |
Definition at line 61 of file CacheRecorder.hh.
Referenced by CacheRecorder::addRecord(), and CacheRecorder::enqueueNextFetchRequest().
Addr TraceRecord::m_data_address |
Definition at line 58 of file CacheRecorder.hh.
Referenced by CacheRecorder::addRecord(), CacheRecorder::enqueueNextFetchRequest(), and CacheRecorder::enqueueNextFlushRequest().
Addr TraceRecord::m_pc_address |
Definition at line 59 of file CacheRecorder.hh.
Referenced by CacheRecorder::addRecord().
Tick TraceRecord::m_time |
Definition at line 57 of file CacheRecorder.hh.
Referenced by CacheRecorder::addRecord(), and compareTraceRecords().
RubyRequestType TraceRecord::m_type |
Definition at line 60 of file CacheRecorder.hh.
Referenced by CacheRecorder::addRecord(), and CacheRecorder::enqueueNextFetchRequest().