SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
Time Class Reference

#include <Time.h>

Public Types

typedef long long SysClock
 

Static Public Member Functions

static SysClock currentTicks ()
 
static double currentSeconds ()
 
static double ticksPerSecond ()
 Return the conversion from seconds to ticks. More...
 
static double secondsPerTick ()
 Return the conversion from ticks to seconds. More...
 
static void waitUntil (SysClock ticks)
 Wait until the specified time in clock ticks. More...
 
static void waitUntil (double seconds)
 Wait until the specified time in seconds. More...
 
static void waitFor (SysClock ticks)
 Wait for the specified time in clock ticks. More...
 
static void waitFor (double seconds)
 Wait for the specified time in seconds. More...
 

Member Typedef Documentation

typedef long long SysClock

Member Function Documentation

double currentSeconds ( )
static

Return the current system time, in terms of seconds. This is slower than currentTicks(). Time zero is at some arbitrary point in the past.

Time::SysClock currentTicks ( )
static

Return the current system time, in terms of clock ticks. Time zero is at some arbitrary point in the past.

double secondsPerTick ( )
static

Return the conversion from ticks to seconds.

double ticksPerSecond ( )
static

Return the conversion from seconds to ticks.

void waitFor ( SysClock  ticks)
static

Wait for the specified time in clock ticks.

void waitFor ( double  seconds)
static

Wait for the specified time in seconds.

void waitUntil ( SysClock  ticks)
static

Wait until the specified time in clock ticks.

void waitUntil ( double  seconds)
static

Wait until the specified time in seconds.


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