Zth (libzth)
Loading...
Searching...
No Matches
zth::PerfEvent< false > Struct Reference

#include <perf.h>

Public Types

enum  Type {
  Nothing , FiberName , FiberState , Log ,
  Marker
}
 

Public Member Functions

constexpr PerfEvent () noexcept
 
constexpr PerfEvent (UniqueID< Fiber > const &fiber_) noexcept
 
constexpr PerfEvent (UniqueID< Fiber > const &fiber_, int state, Timestamp const &t_=Timestamp()) noexcept
 
constexpr PerfEvent (UniqueID< Fiber > const &fiber_, string const &str_, Timestamp const &t_=Timestamp()) noexcept
 
constexpr PerfEvent (UniqueID< Fiber > const &fiber_, char const *marker, Timestamp const &t_=Timestamp()) noexcept
 
constexpr PerfEvent (UniqueID< Fiber > const &fiber_, Timestamp const &t_, char const *fmt,...) noexcept
 
 PerfEvent (UniqueID< Fiber > const &fiber_, Timestamp const &t_, char const *fmt, va_list args) noexcept
 
void release () const noexcept
 

Public Attributes

union zth::PerfEvent< false >:: { ... }  
 

Detailed Description

Definition at line 203 of file perf.h.

Member Enumeration Documentation

◆ Type

enum zth::PerfEvent< false >::Type
Enumerator
Nothing 
FiberName 
FiberState 
Log 
Marker 

Definition at line 204 of file perf.h.

Constructor & Destructor Documentation

◆ PerfEvent() [1/7]

constexpr zth::PerfEvent< false >::PerfEvent ( )
inlineconstexprnoexcept

Definition at line 206 of file perf.h.

◆ PerfEvent() [2/7]

constexpr zth::PerfEvent< false >::PerfEvent ( UniqueID< Fiber > const &  fiber_)
inlineexplicitconstexprnoexcept

Definition at line 210 of file perf.h.

◆ PerfEvent() [3/7]

constexpr zth::PerfEvent< false >::PerfEvent ( UniqueID< Fiber > const &  fiber_,
int  state,
Timestamp const &  t_ = Timestamp() 
)
inlineconstexprnoexcept

Definition at line 214 of file perf.h.

◆ PerfEvent() [4/7]

constexpr zth::PerfEvent< false >::PerfEvent ( UniqueID< Fiber > const &  fiber_,
string const &  str_,
Timestamp const &  t_ = Timestamp() 
)
inlineconstexprnoexcept

Definition at line 220 of file perf.h.

◆ PerfEvent() [5/7]

constexpr zth::PerfEvent< false >::PerfEvent ( UniqueID< Fiber > const &  fiber_,
char const *  marker,
Timestamp const &  t_ = Timestamp() 
)
inlineconstexprnoexcept

Definition at line 226 of file perf.h.

◆ PerfEvent() [6/7]

constexpr zth::PerfEvent< false >::PerfEvent ( UniqueID< Fiber > const &  fiber_,
Timestamp const &  t_,
char const *  fmt,
  ... 
)
inlineconstexprnoexcept

Definition at line 232 of file perf.h.

◆ PerfEvent() [7/7]

zth::PerfEvent< false >::PerfEvent ( UniqueID< Fiber > const &  fiber_,
Timestamp const &  t_,
char const *  fmt,
va_list  args 
)
inlinenoexcept

Definition at line 237 of file perf.h.

Member Function Documentation

◆ release()

void zth::PerfEvent< false >::release ( ) const
inlinenoexcept

Definition at line 243 of file perf.h.

Member Data Documentation

◆ []

union zth::PerfEvent< false > { ... } zth::PerfEvent< false >

◆ c_str

char const* zth::PerfEvent< false >::c_str

Definition at line 251 of file perf.h.

◆ fiber

uint64_t zth::PerfEvent< false >::fiber

Definition at line 248 of file perf.h.

◆ fiberState

int zth::PerfEvent< false >::fiberState

Definition at line 252 of file perf.h.

◆ str

char* zth::PerfEvent< false >::str

Definition at line 250 of file perf.h.

◆ t

struct timespec zth::PerfEvent< false >::t

Definition at line 247 of file perf.h.

◆ type

Type zth::PerfEvent< false >::type

Definition at line 249 of file perf.h.

◆ unused

void* zth::PerfEvent< false >::unused

Definition at line 246 of file perf.h.


The documentation for this struct was generated from the following file: