gem5 v24.0.0.0
Loading...
Searching...
No Matches
sc_gem5::UniqueNameGen Class Reference

#include <module.hh>

Public Member Functions

const char * gen (std::string seed)
 

Private Attributes

std::map< std::string, int > counts
 
std::string buf
 

Detailed Description

Definition at line 52 of file module.hh.

Member Function Documentation

◆ gen()

const char * sc_gem5::UniqueNameGen::gen ( std::string seed)
inline

Definition at line 60 of file module.hh.

References buf, and counts.

Referenced by sc_gem5::Module::uniqueName(), and sc_gem5::Process::uniqueName().

Member Data Documentation

◆ buf

std::string sc_gem5::UniqueNameGen::buf
private

Definition at line 56 of file module.hh.

Referenced by gen().

◆ counts

std::map<std::string, int> sc_gem5::UniqueNameGen::counts
private

Definition at line 55 of file module.hh.

Referenced by gen().


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