Zth (libzth)
Loading...
Searching...
No Matches
zth::impl::NoBacktrace Class Reference

#include <backtrace.h>

Public Types

typedef void * bt_type
 

Public Member Functions

 NoBacktrace (size_t skip=0, size_t maxDepth=128) noexcept
 
Fiberfiber () const noexcept
 
uint64_t fiberId () const noexcept
 
bt_type bt () const noexcept
 
bool truncated () const noexcept
 
Timestamp t0 () const noexcept
 
Timestamp t1 () const noexcept
 
void printPartial (size_t start, ssize_t end=-1, int color=-1) const
 
void print (int color=-1) const
 
void printDelta (NoBacktrace const &other, int color=-1) const
 

Detailed Description

Definition at line 25 of file backtrace.h.

Member Typedef Documentation

◆ bt_type

Definition at line 28 of file backtrace.h.

Constructor & Destructor Documentation

◆ NoBacktrace()

zth::impl::NoBacktrace::NoBacktrace ( size_t  skip = 0,
size_t  maxDepth = 128 
)
inlineexplicitnoexcept

Definition at line 30 of file backtrace.h.

Member Function Documentation

◆ bt()

bt_type zth::impl::NoBacktrace::bt ( ) const
inlinenoexcept

Definition at line 46 of file backtrace.h.

◆ fiber()

Fiber * zth::impl::NoBacktrace::fiber ( ) const
inlinenoexcept

Definition at line 36 of file backtrace.h.

◆ fiberId()

uint64_t zth::impl::NoBacktrace::fiberId ( ) const
inlinenoexcept

Definition at line 41 of file backtrace.h.

◆ print()

void zth::impl::NoBacktrace::print ( int  color = -1) const
inline

Definition at line 73 of file backtrace.h.

◆ printDelta()

void zth::impl::NoBacktrace::printDelta ( NoBacktrace const &  other,
int  color = -1 
) const
inline

Definition at line 78 of file backtrace.h.

◆ printPartial()

void zth::impl::NoBacktrace::printPartial ( size_t  start,
ssize_t  end = -1,
int  color = -1 
) const
inline

Definition at line 66 of file backtrace.h.

◆ t0()

Timestamp zth::impl::NoBacktrace::t0 ( ) const
inlinenoexcept

Definition at line 56 of file backtrace.h.

◆ t1()

Timestamp zth::impl::NoBacktrace::t1 ( ) const
inlinenoexcept

Definition at line 61 of file backtrace.h.

◆ truncated()

bool zth::impl::NoBacktrace::truncated ( ) const
inlinenoexcept

Definition at line 51 of file backtrace.h.


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