# WinClock Class Reference

`#include <WinClock.hh>`

Inheritance diagram for WinClock:

[legend]

List of all members.

## Public Member Functions
| WinClock ()
virtual double | getResolution ()
| Get the clock resolution in nano-seconds.
virtual uint64_t | getCurrentTicksValue ()
| Get the current ticks value.
virtual double | tick2NanoSecond (const uint64_t ticks)
| Convert a number of ticks into a double value representing nanoseconds.
virtual | ~WinClock ()
## Private Attributes
double | resolution
| The WinClock resolution in nano-seconds.

## Detailed Description

Definition at line 9 of file WinClock.hh.

## Constructor & Destructor Documentation

WinClock | ( |  | ) |

Definition at line 9 of file WinClock.cc.

References WinClock::resolution.

~WinClock | ( |  | ) | `[virtual]`

Definition at line 29 of file WinClock.cc.

## Member Function Documentation

double getResolution | ( |  | ) | `[virtual]`

Get the clock resolution in nano-seconds.

Returns:
  the clock resolution in nano-seconds

Implements Clock.

Definition at line 14 of file WinClock.cc.

References WinClock::resolution.

uint64_t getCurrentTicksValue | ( |  | ) | `[virtual]`

Get the current ticks value.

Returns:
  the current ticks value

Implements Clock.

Definition at line 19 of file WinClock.cc.

double tick2NanoSecond | ( | const uint64_t | ticks | ) | `[virtual]`

Convert a number of ticks into a double value representing nanoseconds.

Parameters:

  `[in]` | ticks | the number of tick to convert

Returns:
  the nano-seconds value

Implements Clock.

Definition at line 24 of file WinClock.cc.

References WinClock::resolution.

## Member Data Documentation

double resolution`[private]`

The WinClock resolution in nano-seconds.

Definition at line 36 of file WinClock.hh.

Referenced by WinClock::getResolution(), WinClock::tick2NanoSecond(), and WinClock::WinClock().

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

- WinClock.hh
- WinClock.cc