一呼百應, "one call, a hundred responses"
Loading...
Searching...
No Matches
ein::profiling::duration_event< Profile > Struct Template Reference

#include <profiling.hpp>

Collaboration diagram for ein::profiling::duration_event< Profile >:
[legend]

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
 

Detailed Description

template<typename Profile>
struct ein::profiling::duration_event< Profile >

Definition at line 246 of file profiling.hpp.

Member Typedef Documentation

◆ event

template<typename Profile >
using ein::profiling::duration_event< Profile >::event = typename Profile::event

Definition at line 247 of file profiling.hpp.

Constructor & Destructor Documentation

◆ duration_event()

template<typename Profile >
ein::profiling::duration_event< Profile >::duration_event ( Profile & profile,
static_string name )
inlinenoexcept[[always_inline]]

Member Function Documentation

◆ start()

template<typename Profile >
void ein::profiling::duration_event< Profile >::start ( )
inlinenoexcept[[always_inline]]

◆ stop()

template<typename Profile >
void ein::profiling::duration_event< Profile >::stop ( )
inlinenoexcept[[always_inline]]

Member Data Documentation

◆ name

◆ profile

template<typename Profile >
Profile& ein::profiling::duration_event< Profile >::profile

Definition at line 248 of file profiling.hpp.

◆ started

template<typename Profile >
bool ein::profiling::duration_event< Profile >::started

The documentation for this struct was generated from the following file: