Ada 4.1.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
event_collector Struct Reference

#include <event_counter.h>

Public Member Functions

 event_collector ()
bool has_events ()
void start ()
event_count & end ()

Public Attributes

event_count count {}
std::chrono::time_point< std::chrono::steady_clock > start_clock {}

Detailed Description

Definition at line 96 of file event_counter.h.

Constructor & Destructor Documentation

◆ event_collector()

event_collector::event_collector ( )
inline

Definition at line 113 of file event_counter.h.

Member Function Documentation

◆ end()

◆ has_events()

bool event_collector::has_events ( )
inline

Definition at line 114 of file event_counter.h.

Referenced by end(), and start().

◆ start()

void event_collector::start ( )
inline

Definition at line 117 of file event_counter.h.

References get_counters(), has_events(), and start_clock.

Member Data Documentation

◆ count

event_count event_collector::count {}

Definition at line 97 of file event_counter.h.

Referenced by end().

◆ start_clock

std::chrono::time_point<std::chrono::steady_clock> event_collector::start_clock {}

Definition at line 98 of file event_counter.h.

Referenced by end(), and start().


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