gem5  v22.0.0.1
Public Member Functions | Private Attributes | List of all members
sc_gem5::VcdTraceScope Class Reference

#include <vcd.hh>

Public Member Functions

void addValue (const std::string &name, VcdTraceValBase *value)
 
void output (const std::string &name, std::ostream &os)
 

Private Attributes

std::vector< std::pair< std::string, VcdTraceValBase * > > values
 
std::map< std::string, VcdTraceScope * > scopes
 

Detailed Description

Definition at line 41 of file vcd.hh.

Member Function Documentation

◆ addValue()

void sc_gem5::VcdTraceScope::addValue ( const std::string &  name,
VcdTraceValBase value 
)

Definition at line 143 of file vcd.cc.

References name(), scopes, and values.

Referenced by sc_gem5::VcdTraceFile::addNewTraceVal().

◆ output()

void sc_gem5::VcdTraceScope::output ( const std::string &  name,
std::ostream &  os 
)

Member Data Documentation

◆ scopes

std::map<std::string, VcdTraceScope *> sc_gem5::VcdTraceScope::scopes
private

Definition at line 45 of file vcd.hh.

Referenced by addValue(), and output().

◆ values

std::vector<std::pair<std::string, VcdTraceValBase *> > sc_gem5::VcdTraceScope::values
private

Definition at line 44 of file vcd.hh.

Referenced by addValue(), and output().


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

Generated on Sat Jun 18 2022 08:15:27 for gem5 by doxygen 1.8.17