gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
TraceRecord Class Reference

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]
 

Detailed Description

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.

Member Function Documentation

void TraceRecord::print ( std::ostream &  out) const

Definition at line 39 of file CacheRecorder.cc.

Referenced by operator<<().

Member Data Documentation

int TraceRecord::m_cntrl_id
uint8_t TraceRecord::m_data[0]
Addr TraceRecord::m_data_address
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

The documentation for this class was generated from the following files:

Generated on Fri Jun 9 2017 13:04:22 for gem5 by doxygen 1.8.6