|
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 { ... } |
| 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 |