#include <profiling.hpp>
Public Types | |
using | event = typename Profile::event |
Public Member Functions | |
duration_event (Profile &profile, static_string name) noexcept | |
void | start () noexcept |
void | stop () noexcept |
Public Attributes | |
Profile & | profile |
bool | started |
static_string | name |
Definition at line 246 of file profiling.hpp.
using ein::profiling::duration_event< Profile >::event = typename Profile::event |
Definition at line 247 of file profiling.hpp.
|
inlinenoexcept[[always_inline]] |
Definition at line 253 of file profiling.hpp.
|
inlinenoexcept[[always_inline]] |
Definition at line 257 of file profiling.hpp.
References ein::profiling::duration_begin, ein::profiling::profile< Mutex, Duration, Clock >::log(), ein::profiling::duration_event< Profile >::name, and ein::profiling::duration_event< Profile >::started.
|
inlinenoexcept[[always_inline]] |
Definition at line 267 of file profiling.hpp.
References ein::profiling::duration_end, ein::profiling::profile< Mutex, Duration, Clock >::log(), ein::profiling::duration_event< Profile >::name, and ein::profiling::duration_event< Profile >::started.
static_string ein::profiling::duration_event< Profile >::name |
Definition at line 250 of file profiling.hpp.
Referenced by ein::profiling::duration_event< Profile >::start(), and ein::profiling::duration_event< Profile >::stop().
Profile& ein::profiling::duration_event< Profile >::profile |
Definition at line 248 of file profiling.hpp.
bool ein::profiling::duration_event< Profile >::started |
Definition at line 249 of file profiling.hpp.
Referenced by ein::profiling::duration_event< Profile >::start(), and ein::profiling::duration_event< Profile >::stop().