Class for the Simulation (SIM) events.
More...
#include <simulation.h>
Class for the Simulation (SIM) events.
Simulation events provide additional information, such as model information from the simulation environment.
◆ Events
Possible types of simulation events.
| Enumerator |
|---|
| tag | The tag event is used to annotate the BTF trace with system and model information.
|
| unknown | Default value.
|
◆ eventToString()
| std::string btf::Simulation::eventToString |
( |
Events |
ev | ) |
|
|
static |
Converts the enum Events into string.
- Parameters
-
| [in] | ev | Events enum that will be converted. |
- Returns
- String if Events type is valid, else a fatal error is triggered.
◆ stringToEvent()
Converts a string into the enum Events.
- Parameters
-
| [in] | str | String that will be converted. |
- Returns
- Events enum.
The documentation for this class was generated from the following files: