![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Public Member Functions | |
| NamedBasicStackEntry (std::string name, bool do_timer=true, SourceLocation &&loc=SourceLocation{}) | |
| Construct a new Named Basic Stack Entry object. | |
| ~NamedBasicStackEntry () | |
| Destroy the Named Basic Stack Entry object. | |
Public Attributes | |
| SourceLocation | loc |
| Source location attached to the entry. | |
| bool | do_timer |
| is the timer enabled for this entry | |
| std::string | name |
| Name of the entry. | |
| f64 | wtime_start |
| start time of the entry | |
| CallStackEntry | scoped_callstack_entry |
| scoped call stack entry | |
Definition at line 170 of file stacktrace.hpp.
|
inline |
Construct a new Named Basic Stack Entry object.
| name | Name of the entry |
| do_timer | Is the timer enabled for this entry (default: true) |
| loc | Source location attached to the entry (default: SourceLocation{}) |
Definition at line 188 of file stacktrace.hpp.
|
inline |
Destroy the Named Basic Stack Entry object.
Pop the name from the call stack and stop the timer if enabled
Definition at line 206 of file stacktrace.hpp.
| bool shambase::details::NamedBasicStackEntry::do_timer |
is the timer enabled for this entry
Definition at line 172 of file stacktrace.hpp.
| SourceLocation shambase::details::NamedBasicStackEntry::loc |
Source location attached to the entry.
Definition at line 171 of file stacktrace.hpp.
| std::string shambase::details::NamedBasicStackEntry::name |
Name of the entry.
Definition at line 173 of file stacktrace.hpp.
| CallStackEntry shambase::details::NamedBasicStackEntry::scoped_callstack_entry |
scoped call stack entry
Definition at line 179 of file stacktrace.hpp.
| f64 shambase::details::NamedBasicStackEntry::wtime_start |
start time of the entry
Definition at line 176 of file stacktrace.hpp.