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

Member Typedef Documentation

Definition at line 51 of file PentiumTimer.h.

Definition at line 48 of file PentiumTimer.h.

Definition at line 52 of file PentiumTimer.h.

Member Function Documentation

static double PentiumTime::oneTick ( )
inlinestatic

Definition at line 45 of file PentiumTimer.h.

References PentiumTime::OneTick::one.

45  {
46  static const OneTick local;
47  return local.one;
48  };
static TimeType PentiumTime::time ( )
inlinestatic

Definition at line 54 of file PentiumTimer.h.

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

Definition at line 55 of file PentiumTimer.h.

55 { return rdtscPentium();}