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 31 of file PentiumTimer.h.

Member Typedef Documentation

Definition at line 46 of file PentiumTimer.h.

Definition at line 43 of file PentiumTimer.h.

Definition at line 47 of file PentiumTimer.h.

Member Function Documentation

static double PentiumTime::oneTick ( )
inlinestatic

Definition at line 40 of file PentiumTimer.h.

References PentiumTime::OneTick::one.

40  {
41  static OneTick local;
42  return local.one;
43  };
static TimeType PentiumTime::time ( )
inlinestatic

Definition at line 49 of file PentiumTimer.h.

49 { return rdtscPentium();}
static TimeType PentiumTime::time ( int  )
inlinestatic

Definition at line 50 of file PentiumTimer.h.

50 { return rdtscPentium();}