- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Members

# Stopwatch Class Reference

List of all members.

## Public Member Functions
| Stopwatch ()
| ~Stopwatch ()
void | start ()
double | stop ()
## Protected Attributes
clock_t | startTime

## Detailed Description

Definition at line 6 of file stopwatch.h.

## Constructor & Destructor Documentation

Stopwatch::Stopwatch | ( |  | ) | `[inline]`

Constructor.

Definition at line 14 of file stopwatch.h.

Stopwatch::~Stopwatch | ( |  | ) | `[inline]`

Destructor

Definition at line 19 of file stopwatch.h.

## Member Function Documentation

void Stopwatch::start | ( |  | ) |

Starts the stopwatch.

Definition at line 3 of file stopwatch.cpp.

double Stopwatch::stop | ( |  | ) |

Stops the stopwatch, returning the time regitered from last start, in seconds.

Returns:
  Time from last start, in seconds.

Definition at line 7 of file stopwatch.cpp.

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

- VCRA-SZCZERBACKI-PointBasedRendering/stopwatch.h
- VCRA-SZCZERBACKI-PointBasedRendering/stopwatch.cpp