CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Static Public Member Functions
PentiumTime Struct Reference

#include <PentiumTimer.h>

Classes

struct  OneTick
 

Public Types

typedef PentiumTimeIntervalType IntervalType
 
typedef GenTimeInterval
< PentiumTime
TimeInterval
 
typedef PentiumTimeType TimeType
 

Static Public Member Functions

static double oneTick ()
 
static TimeType time ()
 
static TimeType time (int)
 

Detailed Description

Definition at line 22 of file PentiumTimer.h.

Member Typedef Documentation

Definition at line 37 of file PentiumTimer.h.

Definition at line 34 of file PentiumTimer.h.

Definition at line 38 of file PentiumTimer.h.

Member Function Documentation

static double PentiumTime::oneTick ( )
inlinestatic

Definition at line 31 of file PentiumTimer.h.

References PentiumTime::OneTick::one.

31  {
32  static OneTick local;
33  return local.one;
34  };
static TimeType PentiumTime::time ( )
inlinestatic

Definition at line 40 of file PentiumTimer.h.

References rdtscPentium().

40 { return rdtscPentium();}
PentiumTimeType rdtscPentium()
Definition: PentiumTimer.h:13
static TimeType PentiumTime::time ( int  )
inlinestatic

Definition at line 41 of file PentiumTimer.h.

References rdtscPentium().

41 { return rdtscPentium();}
PentiumTimeType rdtscPentium()
Definition: PentiumTimer.h:13