The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
AlgTimingAuditor::stats_t Struct Reference

Public Member Functions

void start ()
 
void stop ()
 

Public Attributes

clock_t::duration total_time {}
 
std::size_t count {}
 
clock_t::time_point started {}
 

Detailed Description

Definition at line 102 of file AlgTimingAuditor.cpp.

Member Function Documentation

◆ start()

void AlgTimingAuditor::stats_t::start ( )
inline

Definition at line 107 of file AlgTimingAuditor.cpp.

107{ started = clock_t::now(); }

◆ stop()

void AlgTimingAuditor::stats_t::stop ( )
inline

Definition at line 108 of file AlgTimingAuditor.cpp.

108 {
109 total_time += clock_t::now() - started;
110 ++count;
111 }

Member Data Documentation

◆ count

std::size_t AlgTimingAuditor::stats_t::count {}

Definition at line 104 of file AlgTimingAuditor.cpp.

104{};

◆ started

clock_t::time_point AlgTimingAuditor::stats_t::started {}

Definition at line 105 of file AlgTimingAuditor.cpp.

105{};

◆ total_time

clock_t::duration AlgTimingAuditor::stats_t::total_time {}

Definition at line 103 of file AlgTimingAuditor.cpp.

103{};

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