Zth (libzth)
Loading...
Searching...
No Matches
zth::PerfFiber Class Reference
Inheritance diagram for zth::PerfFiber:
zth::Runnable

Public Member Functions

 PerfFiber (Worker *worker)
 
virtual ~PerfFiber () override
 
void flushEventBuffer ()
 
- Public Member Functions inherited from zth::Runnable
virtual ~Runnable ()=default
 
int run ()
 
Fiberfiber () const noexcept
 
 operator Fiber & () const noexcept
 
char const * id_str () const
 

Static Public Member Functions

static perf_eventBuffer_typeeventBuffer ()
 

Protected Member Functions

virtual int fiberHook (Fiber &f) override
 
virtual void entry () override
 
int processEventBuffer ()
 
int startVCD ()
 
int finalizeVCD ()
 
string const & vcdId (uint64_t fiber)
 
void vcdIdRelease (uint64_t fiber)
 
- Protected Member Functions inherited from zth::Runnable
constexpr Runnable () noexcept
 
virtual void cleanup () noexcept
 

Detailed Description

Definition at line 50 of file perf.cpp.

Constructor & Destructor Documentation

◆ PerfFiber()

zth::PerfFiber::PerfFiber ( Worker worker)
inlineexplicit

Definition at line 54 of file perf.cpp.

◆ ~PerfFiber()

virtual zth::PerfFiber::~PerfFiber ( )
inlineoverridevirtual

Definition at line 63 of file perf.cpp.

Member Function Documentation

◆ entry()

virtual void zth::PerfFiber::entry ( )
inlineoverrideprotectedvirtual

Implements zth::Runnable.

Definition at line 157 of file perf.cpp.

◆ eventBuffer()

static perf_eventBuffer_type & zth::PerfFiber::eventBuffer ( )
inlinestatic

Definition at line 144 of file perf.cpp.

◆ fiberHook()

virtual int zth::PerfFiber::fiberHook ( Fiber f)
inlineoverrideprotectedvirtual

Reimplemented from zth::Runnable.

Definition at line 151 of file perf.cpp.

◆ finalizeVCD()

int zth::PerfFiber::finalizeVCD ( )
inlineprotected

Definition at line 397 of file perf.cpp.

◆ flushEventBuffer()

void zth::PerfFiber::flushEventBuffer ( )
inline

Definition at line 87 of file perf.cpp.

◆ processEventBuffer()

int zth::PerfFiber::processEventBuffer ( )
inlineprotected

Definition at line 173 of file perf.cpp.

◆ startVCD()

int zth::PerfFiber::startVCD ( )
inlineprotected

Definition at line 325 of file perf.cpp.

◆ vcdId()

string const & zth::PerfFiber::vcdId ( uint64_t  fiber)
inlineprotected

Definition at line 436 of file perf.cpp.

◆ vcdIdRelease()

void zth::PerfFiber::vcdIdRelease ( uint64_t  fiber)
inlineprotected

Definition at line 461 of file perf.cpp.


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