vocabtree  0.0.1
cycletimer.hpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
Include dependency graph for cycletimer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CycleTimer
 This uses the cycle counter of the processor.
 

Typedefs

typedef unsigned long long CycleTimer::SysClock
 

Functions

SysClock CycleTimer::currentTicks ()
 Return the current CPU time, in terms of clock ticks. More...
 
const char * CycleTimer::tickUnits ()
 
double CycleTimer::secondsPerTick ()
 Return the conversion from ticks to seconds. More...
 
double CycleTimer::msPerTick ()
 Return the conversion from ticks to milliseconds. More...
 
double CycleTimer::currentSeconds ()
 Return the current CPU time, in terms of seconds. More...
 
double CycleTimer::ticksPerSecond ()
 Return the conversion from seconds to ticks. More...