![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Public Member Functions | |
| BasicStackEntry (bool do_timer=true, SourceLocation &&loc=SourceLocation{}) | |
| Construct a new Basic Stack Entry object. | |
| BasicStackEntry (SourceLocation &callsite, bool do_timer=true, SourceLocation &&loc=SourceLocation{}) | |
| Construct a new Basic Stack Entry object. | |
| ~BasicStackEntry () | |
| Destroy the Basic Stack Entry object. | |
Public Attributes | |
| SourceLocation | loc |
| Source location attached to the entry. | |
| bool | do_timer |
| is the timer enabled for this entry | |
| f64 | wtime_start |
| start time of the entry | |
| CallStackEntry | scoped_callstack_entry |
| scoped call stack entry | |
Definition at line 106 of file stacktrace.hpp.
|
inline |
Construct a new Basic Stack Entry object.
| do_timer | Is the timer enabled for this entry (default: true) |
| loc | Source location attached to the entry (default: SourceLocation{}) |
Definition at line 122 of file stacktrace.hpp.
|
inline |
Construct a new Basic Stack Entry object.
| do_timer | Is the timer enabled for this entry (default: true) |
| loc | Source location attached to the entry (default: SourceLocation{}) |
Definition at line 140 of file stacktrace.hpp.
|
inline |
Destroy the Basic Stack Entry object.
Pop the source location from the call stack and stop the timer if enabled.
Definition at line 158 of file stacktrace.hpp.
| bool shambase::details::BasicStackEntry::do_timer |
is the timer enabled for this entry
Definition at line 108 of file stacktrace.hpp.
| SourceLocation shambase::details::BasicStackEntry::loc |
Source location attached to the entry.
Definition at line 107 of file stacktrace.hpp.
| CallStackEntry shambase::details::BasicStackEntry::scoped_callstack_entry |
scoped call stack entry
Definition at line 114 of file stacktrace.hpp.
| f64 shambase::details::BasicStackEntry::wtime_start |
start time of the entry
Definition at line 111 of file stacktrace.hpp.