Rcpp Version 0.9.10
Timer Class Reference

#include <Timer.h>

List of all members.

Public Member Functions

 Timer ()
void Start ()
void Stop ()
void Reset ()
double ElapsedTime ()
double CumulativeTime ()

Private Member Functions

double getFractionalSeconds (void)

Private Attributes

Function sys_time
double start_t
double end_t
double elapsed
double cumul

Detailed Description

Examples:

SugarPerformance/Timer.h, and SugarPerformance/Timertest.cpp.

Definition at line 31 of file Timer.h.


Constructor & Destructor Documentation

Timer::Timer ( ) [inline]
Examples:
SugarPerformance/Timer.h.

Definition at line 33 of file Timer.h.

References Reset().

Here is the call graph for this function:


Member Function Documentation

double Timer::CumulativeTime ( ) [inline]
Examples:
SugarPerformance/Timer.h, and SugarPerformance/Timertest.cpp.

Definition at line 42 of file Timer.h.

References cumul.

Referenced by main().

double Timer::ElapsedTime ( ) [inline]
Examples:
SugarPerformance/Timer.h, and SugarPerformance/Timertest.cpp.

Definition at line 41 of file Timer.h.

References elapsed.

Referenced by main().

double Timer::getFractionalSeconds ( void  ) [inline, private]
Examples:
SugarPerformance/Timer.h.

Definition at line 49 of file Timer.h.

References sys_time.

Referenced by Start(), and Stop().

void Timer::Reset ( ) [inline]
Examples:
SugarPerformance/Timer.h, and SugarPerformance/Timertest.cpp.

Definition at line 40 of file Timer.h.

References cumul, elapsed, end_t, and start_t.

Referenced by main(), and Timer().

void Timer::Start ( ) [inline]
Examples:
SugarPerformance/Timer.h, and SugarPerformance/Timertest.cpp.

Definition at line 34 of file Timer.h.

References getFractionalSeconds(), and start_t.

Referenced by main().

Here is the call graph for this function:

void Timer::Stop ( ) [inline]
Examples:
SugarPerformance/Timer.h, and SugarPerformance/Timertest.cpp.

Definition at line 35 of file Timer.h.

References cumul, elapsed, end_t, getFractionalSeconds(), and start_t.

Referenced by main().

Here is the call graph for this function:


Member Data Documentation

double Timer::cumul [private]
Examples:
SugarPerformance/Timer.h.

Definition at line 47 of file Timer.h.

Referenced by CumulativeTime(), Reset(), and Stop().

double Timer::elapsed [private]
Examples:
SugarPerformance/Timer.h.

Definition at line 47 of file Timer.h.

Referenced by ElapsedTime(), Reset(), and Stop().

double Timer::end_t [private]
Examples:
SugarPerformance/Timer.h.

Definition at line 47 of file Timer.h.

Referenced by Reset(), and Stop().

double Timer::start_t [private]
Examples:
SugarPerformance/Timer.h.

Definition at line 47 of file Timer.h.

Referenced by Reset(), Start(), and Stop().

Function Timer::sys_time [private]
Examples:
SugarPerformance/Timer.h.

Definition at line 46 of file Timer.h.

Referenced by getFractionalSeconds().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines