|
Zth (libzth)
|
An event to be processed by perf_event(). More...
#include <perf.h>
Public Types | |
| enum | Type { Nothing , FiberName , FiberState , Log , Marker } |
Public Member Functions | |
| constexpr | PerfEvent () noexcept |
| PerfEvent (UniqueID< Fiber > const &fiber_) | |
| PerfEvent (UniqueID< Fiber > const &fiber_, int state, Timestamp const &t_=Timestamp::now()) noexcept | |
| PerfEvent (UniqueID< Fiber > const &fiber_, string const &str_, Timestamp const &t_=Timestamp::now()) | |
| PerfEvent (UniqueID< Fiber > const &fiber_, char const *marker, Timestamp const &t_=Timestamp::now()) noexcept | |
| PerfEvent (UniqueID< Fiber > const &fiber_, Timestamp const &t_, char const *fmt,...) | |
| PerfEvent (UniqueID< Fiber > const &fiber_, Timestamp const &t_, char const *fmt, va_list args) | |
| void | release () const |
Public Attributes | ||
| Timestamp | t | |
| uint64_t | fiber | |
| Type | type | |
| union { | ||
| void * unused | ||
| char * str | ||
| char const * c_str | ||
| int fiberState | ||
| }; | ||
An event to be processed by perf_event().
| enum zth::PerfEvent::Type |
|
inlineconstexprnoexcept |
|
inlineexplicit |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
| union { ... } zth::PerfEvent< Enable > |
| char const* zth::PerfEvent< Enable >::c_str |
| uint64_t zth::PerfEvent< Enable >::fiber |
| int zth::PerfEvent< Enable >::fiberState |
| char* zth::PerfEvent< Enable >::str |
| Timestamp zth::PerfEvent< Enable >::t |
| Type zth::PerfEvent< Enable >::type |
| void* zth::PerfEvent< Enable >::unused |