gem5  v20.0.0.2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
Trace::TarmacContext Class Reference

This object type is encapsulating the informations needed by a Tarmac record to generate it's own entries. More...

#include <tarmac_tracer.hh>

Public Member Functions

 TarmacContext (ThreadContext *_thread, const StaticInstPtr _staticInst, ArmISA::PCState _pc)
 
std::string tarmacCpuName () const
 

Public Attributes

ThreadContextthread
 
const StaticInstPtr staticInst
 
ArmISA::PCState pc
 

Detailed Description

This object type is encapsulating the informations needed by a Tarmac record to generate it's own entries.

Definition at line 59 of file tarmac_tracer.hh.

Constructor & Destructor Documentation

◆ TarmacContext()

Trace::TarmacContext::TarmacContext ( ThreadContext _thread,
const StaticInstPtr  _staticInst,
ArmISA::PCState  _pc 
)
inline

Definition at line 62 of file tarmac_tracer.hh.

References tarmacCpuName().

Member Function Documentation

◆ tarmacCpuName()

std::string Trace::TarmacContext::tarmacCpuName ( ) const

Definition at line 48 of file tarmac_tracer.cc.

References BaseCPU::cpuId(), ThreadContext::getCpuPtr(), thread, and sc_dt::to_string().

Referenced by TarmacContext().

Member Data Documentation

◆ pc

ArmISA::PCState Trace::TarmacContext::pc

Definition at line 73 of file tarmac_tracer.hh.

◆ staticInst

const StaticInstPtr Trace::TarmacContext::staticInst

◆ thread

ThreadContext* Trace::TarmacContext::thread

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

Generated on Mon Jun 8 2020 15:46:05 for gem5 by doxygen 1.8.13