OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Timer Class Reference

#include <Timer.h>

Collaboration diagram for Timer:

Public Member Functions

 Timer ()
void clear ()
void start ()
void stop ()
double clock_time ()
double user_time ()
double system_time ()
double cpu_time ()

Private Attributes

double wall_m
double user_m
double sys_m
boost::timer::cpu_timer timer_m

Detailed Description

Definition at line 27 of file ippl/src/Utility/Timer.h.

Constructor & Destructor Documentation

◆ Timer()

Timer::Timer ( )

Definition at line 24 of file ippl/src/Utility/Timer.cpp.

References clear().

Here is the call graph for this function:

Member Function Documentation

◆ clear()

void Timer::clear ( )

◆ clock_time()

double Timer::clock_time ( )

◆ cpu_time()

double Timer::cpu_time ( )

Definition at line 65 of file ippl/src/Utility/Timer.cpp.

References sys_m, and user_m.

◆ start()

void Timer::start ( )

◆ stop()

void Timer::stop ( )

◆ system_time()

double Timer::system_time ( )

Definition at line 60 of file ippl/src/Utility/Timer.cpp.

References sys_m.

◆ user_time()

double Timer::user_time ( )

Definition at line 55 of file ippl/src/Utility/Timer.cpp.

References user_m.

Member Data Documentation

◆ sys_m

double Timer::sys_m
private

Definition at line 45 of file ippl/src/Utility/Timer.h.

Referenced by clear(), cpu_time(), stop(), and system_time().

◆ timer_m

boost::timer::cpu_timer Timer::timer_m
private

Definition at line 46 of file ippl/src/Utility/Timer.h.

Referenced by start(), and stop().

◆ user_m

double Timer::user_m
private

Definition at line 44 of file ippl/src/Utility/Timer.h.

Referenced by clear(), cpu_time(), stop(), and user_time().

◆ wall_m

double Timer::wall_m
private

Definition at line 43 of file ippl/src/Utility/Timer.h.

Referenced by clear(), clock_time(), and stop().


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