Class for Signal (SIG) Events (see BTF Specification Chapter 2.3.6). More...
#include <btf_signal.h>
Public Types | |
enum class | Events { read , write , unknown } |
Possible types of Signal events. More... | |
Static Public Member Functions | |
static std::string | eventToString (Events ev) |
Converts the enum Events into string. More... | |
static Events | stringToEvent (const std::string &str) |
Converts a string into the enum Events. More... | |
Class for Signal (SIG) Events (see BTF Specification Chapter 2.3.6).
A Signal (SIG) is basically an address in the memory of a micro-controller. This memory location contains a certain value, which can be accessed by a process instance if required.
So generally, a signal fulfills the function of naming the memory space, like a label. According to the stored value the process accessing it might change its behavior (READ).
Besides a process also a stimulus is able to write to the storage location and change the value of this label (WRITE).
|
strong |
Possible types of Signal events.
|
static |
Converts the enum Events into string.
[in] | ev | Events enum that will be converted. |
|
static |
Converts a string into the enum Events.
[in] | str | String that will be converted. |