Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stopwatch Class Reference

#include <JETSCAPE/blob/main/external_packages/hydro_from_external_file/Stopwatch.h>

Public Member Functions

 Stopwatch ()
 
void tic ()
 
void toc ()
 
double takeTime ()
 

Private Attributes

time_t start
 
time_t end
 

Detailed Description

Definition at line 6 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 6 of file Stopwatch.h

Constructor & Destructor Documentation

Stopwatch::Stopwatch ( )
inline

Definition at line 11 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 11 of file Stopwatch.h

References end, and start.

Member Function Documentation

double Stopwatch::takeTime ( )
inline

Definition at line 14 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 14 of file Stopwatch.h

References end, and start.

Referenced by main().

+ Here is the caller graph for this function:

void Stopwatch::tic ( )
inline

Definition at line 12 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 12 of file Stopwatch.h

References start.

Referenced by main().

+ Here is the caller graph for this function:

void Stopwatch::toc ( )
inline

Definition at line 13 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 13 of file Stopwatch.h

References end.

Referenced by main().

+ Here is the caller graph for this function:

Member Data Documentation

time_t Stopwatch::end
private

Definition at line 9 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 9 of file Stopwatch.h

Referenced by Stopwatch(), takeTime(), and toc().

time_t Stopwatch::start
private

Definition at line 9 of file Stopwatch.h.

View newest version in sPHENIX GitHub at line 9 of file Stopwatch.h

Referenced by Stopwatch(), takeTime(), and tic().


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