Save a backtrace.
More...
#include <perf.h>
Save a backtrace.
- Examples
- 5_perf.cpp.
Definition at line 52 of file perf.h.
◆ bt_type
◆ Backtrace()
zth::Backtrace::Backtrace |
( |
size_t |
skip = 0 , |
|
|
size_t |
maxDepth = 128 |
|
) |
| |
|
explicit |
◆ bt()
bt_type const& zth::Backtrace::bt |
( |
| ) |
const |
|
inlinenoexcept |
◆ fiber()
Fiber* zth::Backtrace::fiber |
( |
| ) |
const |
|
inlinenoexcept |
◆ fiberId()
uint64_t zth::Backtrace::fiberId |
( |
| ) |
const |
|
inlinenoexcept |
◆ print()
void zth::Backtrace::print |
( |
int |
color = -1 | ) |
const |
◆ printDelta()
void zth::Backtrace::printDelta |
( |
Backtrace const & |
other, |
|
|
int |
color = -1 |
|
) |
| const |
◆ printPartial()
void zth::Backtrace::printPartial |
( |
size_t |
start, |
|
|
ssize_t |
end = -1 , |
|
|
int |
color = -1 |
|
) |
| const |
◆ t0()
Timestamp const& zth::Backtrace::t0 |
( |
| ) |
const |
|
inlinenoexcept |
◆ t1()
Timestamp const& zth::Backtrace::t1 |
( |
| ) |
const |
|
inlinenoexcept |
◆ truncated()
bool zth::Backtrace::truncated |
( |
| ) |
const |
|
inlinenoexcept |
The documentation for this class was generated from the following files: