AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::ProfileClock Struct Reference

Detailed Description

Definition at line 9 of file ProfileClock.h.

Public Member Functions

 ProfileClock ()
 
void stop ()
 
double count () const
 
void start ()
 
 operator double () const
 

Public Attributes

std::chrono::time_point< std::chrono::high_resolution_clock > t_start
 
std::chrono::time_point< std::chrono::high_resolution_clock > t_end
 
double t_duration = {0}
 

Constructor & Destructor Documentation

◆ ProfileClock()

AmpGen::ProfileClock::ProfileClock ( )
inline

Definition at line 14 of file ProfileClock.h.

Member Function Documentation

◆ count()

double AmpGen::ProfileClock::count ( ) const
inline

Definition at line 20 of file ProfileClock.h.

◆ operator double()

AmpGen::ProfileClock::operator double ( ) const
inline

Definition at line 26 of file ProfileClock.h.

◆ start()

void AmpGen::ProfileClock::start ( )
inline

Definition at line 25 of file ProfileClock.h.

◆ stop()

void AmpGen::ProfileClock::stop ( )
inline

Definition at line 15 of file ProfileClock.h.

Member Data Documentation

◆ t_duration

double AmpGen::ProfileClock::t_duration = {0}

Definition at line 12 of file ProfileClock.h.

◆ t_end

std::chrono::time_point<std::chrono::high_resolution_clock> AmpGen::ProfileClock::t_end

Definition at line 11 of file ProfileClock.h.

◆ t_start

std::chrono::time_point<std::chrono::high_resolution_clock> AmpGen::ProfileClock::t_start

Definition at line 10 of file ProfileClock.h.


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