30 explicit NoBacktrace(
size_t skip = 0,
size_t maxDepth = 128) noexcept
66 void printPartial(
size_t start, ssize_t end = -1,
int color = -1)
const
73 void print(
int color = -1)
const
97 explicit Backtrace(
size_t skip = 0,
size_t maxDepth = 128) noexcept;
139 void printPartial(
size_t start, ssize_t end = -1,
int color = -1)
const;
140 void print(
int color = -1)
const;
152template <
bool Enable = Config::EnableBacktrace>
Convenient wrapper around struct timespec that contains an absolute timestamp.
bt_type const & bt() const noexcept
void print(int color=-1) const
Fiber * fiber() const noexcept
vector_type< void * >::type bt_type
bool truncated() const noexcept
void printDelta(Backtrace const &other, int color=-1) const
void truncated(bool set) noexcept
uint64_t fiberId() const noexcept
void printPartial(size_t start, ssize_t end=-1, int color=-1) const
Timestamp const & t1() const noexcept
Timestamp const & t0() const noexcept
uint64_t fiberId() const noexcept
NoBacktrace(size_t skip=0, size_t maxDepth=128) noexcept
bt_type bt() const noexcept
void printPartial(size_t start, ssize_t end=-1, int color=-1) const
Fiber * fiber() const noexcept
Timestamp t0() const noexcept
Timestamp t1() const noexcept
void printDelta(NoBacktrace const &other, int color=-1) const
void print(int color=-1) const
bool truncated() const noexcept
impl::PickBacktrace ::type Backtrace
Save a backtrace.
#define ZTH_CLASS_NEW_DELETE(T)
Define new/delete operators for a class, which are allocator-aware.
std::vector< T, typename Config::Allocator< T >::type > type