gem5 v24.0.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 60 of file CacheRecorder.hh.
void gem5::ruby::TraceRecord::print | ( | std::ostream & | out | ) | const |
Definition at line 45 of file CacheRecorder.cc.
References m_cntrl_id, m_data_address, m_pc_address, m_time, and m_type.
Referenced by gem5::ruby::operator<<().
int gem5::ruby::TraceRecord::m_cntrl_id |
Definition at line 63 of file CacheRecorder.hh.
Referenced by gem5::ruby::CacheRecorder::addRecord(), gem5::ruby::CacheRecorder::enqueueNextFetchRequest(), gem5::ruby::CacheRecorder::enqueueNextFlushRequest(), and print().
uint8_t gem5::ruby::TraceRecord::m_data[0] |
Definition at line 68 of file CacheRecorder.hh.
Referenced by gem5::ruby::CacheRecorder::addRecord(), and gem5::ruby::CacheRecorder::enqueueNextFetchRequest().
Addr gem5::ruby::TraceRecord::m_data_address |
Definition at line 65 of file CacheRecorder.hh.
Referenced by gem5::ruby::CacheRecorder::addRecord(), gem5::ruby::CacheRecorder::enqueueNextFetchRequest(), gem5::ruby::CacheRecorder::enqueueNextFlushRequest(), and print().
Addr gem5::ruby::TraceRecord::m_pc_address |
Definition at line 66 of file CacheRecorder.hh.
Referenced by gem5::ruby::CacheRecorder::addRecord(), and print().
Tick gem5::ruby::TraceRecord::m_time |
Definition at line 64 of file CacheRecorder.hh.
Referenced by gem5::ruby::CacheRecorder::addRecord(), gem5::ruby::compareTraceRecords(), and print().
RubyRequestType gem5::ruby::TraceRecord::m_type |
Definition at line 67 of file CacheRecorder.hh.
Referenced by gem5::ruby::CacheRecorder::addRecord(), gem5::ruby::CacheRecorder::enqueueNextFetchRequest(), and print().