gem5  v22.0.0.2
Public Member Functions | Public Attributes | List of all members
gem5::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, const PCStateBase &_pc)
 
std::string tarmacCpuName () const
 

Public Attributes

ThreadContextthread
 
const StaticInstPtr staticInst
 
std::unique_ptr< PCStateBasepc
 

Detailed Description

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

Definition at line 64 of file tarmac_tracer.hh.

Constructor & Destructor Documentation

◆ TarmacContext()

gem5::Trace::TarmacContext::TarmacContext ( ThreadContext _thread,
const StaticInstPtr  _staticInst,
const PCStateBase _pc 
)
inline

Definition at line 67 of file tarmac_tracer.hh.

Member Function Documentation

◆ tarmacCpuName()

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

Definition at line 51 of file tarmac_tracer.cc.

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

Member Data Documentation

◆ pc

std::unique_ptr<PCStateBase> gem5::Trace::TarmacContext::pc

Definition at line 78 of file tarmac_tracer.hh.

◆ staticInst

const StaticInstPtr gem5::Trace::TarmacContext::staticInst

◆ thread

ThreadContext* gem5::Trace::TarmacContext::thread

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

Generated on Thu Jul 28 2022 13:34:20 for gem5 by doxygen 1.8.17