SADB-Client  0.99
Situational Awareness Database
 All Classes Functions Variables
Public Member Functions | List of all members
NanoTimer Class Reference

Public Member Functions

void Start (void)
 Start the timer.
 
long Stop (void)
 
void Print (void)
 Prints the number of nanoseconds elapsed since the timer was started.
 
void PrintInverse (void)
 Prints the inverse (1/x) of number of nanoseconds elapsed since the timer was started, good to measure frequencies.
 
void WaitUntil (long time)
 

Member Function Documentation

long NanoTimer::Stop ( void  )

Returns the number of nanoseconds elapsed since the timer was started

Returns
nanoseconds
void NanoTimer::WaitUntil ( long  time)

Prints the inverse (1/x) of number of nanoseconds elapsed since the timer was started, good to measure frequencies

Parameters
timeWait until this amount of time has elapsed since styarting the timer

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