gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 (const TarmacTracer &_tracer, ThreadContext *_thread, const StaticInstPtr _staticInst, const PCStateBase &_pc)
 
std::string tarmacCpuName () const
 

Public Attributes

const TarmacTracertracer
 
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 67 of file tarmac_tracer.hh.

Constructor & Destructor Documentation

◆ TarmacContext()

gem5::trace::TarmacContext::TarmacContext ( const TarmacTracer & _tracer,
ThreadContext * _thread,
const StaticInstPtr _staticInst,
const PCStateBase & _pc )
inline

Definition at line 70 of file tarmac_tracer.hh.

Member Function Documentation

◆ tarmacCpuName()

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

Definition at line 54 of file tarmac_tracer.cc.

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

Member Data Documentation

◆ pc

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

Definition at line 84 of file tarmac_tracer.hh.

◆ staticInst

◆ thread

◆ tracer

const TarmacTracer& gem5::trace::TarmacContext::tracer

Definition at line 81 of file tarmac_tracer.hh.


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

Generated on Tue Jun 18 2024 16:24:24 for gem5 by doxygen 1.11.0