gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_gem5::TraceVal< T, Base > Class Template Reference

#include <tracefile.hh>

Inheritance diagram for sc_gem5::TraceVal< T, Base >:
sc_gem5::TraceValBase

Public Member Functions

 TraceVal (const T *_t, int _width)
 
 ~TraceVal ()
 
void finalize () override
 
const T & value ()
 
bool check () override
 
- Public Member Functions inherited from sc_gem5::TraceValBase
 TraceValBase (int _width)
 
virtual ~TraceValBase ()
 
int width ()
 

Private Attributes

const T * t
 
oldVal
 

Additional Inherited Members

- Protected Attributes inherited from sc_gem5::TraceValBase
int _width
 

Detailed Description

template<typename T, typename Base = TraceValBase>
class sc_gem5::TraceVal< T, Base >

Definition at line 63 of file tracefile.hh.

Constructor & Destructor Documentation

◆ TraceVal()

template<typename T , typename Base = TraceValBase>
sc_gem5::TraceVal< T, Base >::TraceVal ( const T * _t,
int _width )
inline

Definition at line 70 of file tracefile.hh.

◆ ~TraceVal()

template<typename T , typename Base = TraceValBase>
sc_gem5::TraceVal< T, Base >::~TraceVal ( )
inline

Definition at line 72 of file tracefile.hh.

Member Function Documentation

◆ check()

template<typename T , typename Base = TraceValBase>
bool sc_gem5::TraceVal< T, Base >::check ( )
inlineoverridevirtual

◆ finalize()

template<typename T , typename Base = TraceValBase>
void sc_gem5::TraceVal< T, Base >::finalize ( )
inlineoverridevirtual

◆ value()

template<typename T , typename Base = TraceValBase>
const T & sc_gem5::TraceVal< T, Base >::value ( )
inline

Definition at line 75 of file tracefile.hh.

References sc_gem5::TraceVal< T, Base >::oldVal.

Member Data Documentation

◆ oldVal

◆ t

template<typename T , typename Base = TraceValBase>
const T* sc_gem5::TraceVal< T, Base >::t
private

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

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