Class logger::Duration¶
-
class
Duration
¶ Public Functions
-
Duration
(DurationTree *duration_tree, int depth, Severity severity, char const *file, int line, char const *name)¶
-
bool
stop
()¶ Set stop_, decrement DurationTree::current_depth_. Return true iff this Duration represents the root timer (see docs).
Public Members
-
int const
depth_
¶
-
Severity const
severity_
¶
-
char const *const
file_
¶
-
int const
line_
¶
-
char const *const
name_
¶
Private Members
-
DurationTree *const
duration_tree_
¶
-
Clock::time_point const
start_
¶
-
Clock::time_point
stop_
¶
-