|
| int64_t | push () noexcept |
| |
| std::pair< int64_t, bool > | pop (int64_t parent_id) noexcept |
| |
◆ pop()
| std::pair< int64_t, bool > tt::trace_stack_type::pop |
( |
int64_t | parent_id | ) |
|
|
inlinenoexcept |
pop a trace from the trace stack. Traces are in reality already on the thread's actual stack. This function will update a virtual stack of traces.
- Returns
- trace_id, The trace that pops should record itself in the log file.
◆ push()
| int64_t tt::trace_stack_type::push |
( |
| ) |
|
|
inlinenoexcept |
Push a trace on the trace stack. Traces are in reality already on the thread's actual stack. This function will update a virtual stack of traces.
- Returns
- parent_id
◆ depth
| int8_t tt::trace_stack_type::depth = 0 |
The number of currently active traces on this thread.
◆ record_depth
| int8_t tt::trace_stack_type::record_depth = 0 |
Keeps track of the traces that need to record itself into the log.
◆ top_trace_id
| int64_t tt::trace_stack_type::top_trace_id = 0 |
The trace id of the trace at the top of the thread's stack.
The documentation for this struct was generated from the following file: