Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

lib.sysdep.win.whrt
Class CounterPMT

boost::noncopyable
   |
   +--ICounter
         |
         +--CounterPMT

   in pmt.h
   in pmt.cpp

class CounterPMT
extends ICounter


Field Summary
private u16 m_portAddress
          
 
Constructor Summary
CounterPMT()
          
 
Method Summary
 virtual LibError Activate()
          
 virtual u64 Counter() const
          
 virtual uint CounterBits() const
          WHRT uses this to ensure the counter (running at nominal frequency) doesn't overflow more than once during CALIBRATION_INTERVAL_MS.
 virtual bool IsSafe() const
          
 virtual const char* Name() const
          
 virtual double NominalFrequency() const
          initial measurement of the tick rate.
 virtual void Shutdown()
          
   
Methods inherited from class ICounter
Name, Activate, Shutdown, IsSafe, Counter, CounterBits, NominalFrequency, Resolution
 

Field Detail

m_portAddress

private u16 m_portAddress;


Constructor Detail

CounterPMT

public CounterPMT();


Method Detail

Activate

public virtual LibError Activate();

Counter

public virtual u64 Counter() const;

CounterBits

public virtual uint CounterBits() const;
WHRT uses this to ensure the counter (running at nominal frequency) doesn't overflow more than once during CALIBRATION_INTERVAL_MS.

IsSafe

public virtual bool IsSafe() const;

Name

public virtual const char* Name() const;

NominalFrequency

public virtual double NominalFrequency() const;
initial measurement of the tick rate. not necessarily correct (e.g. when using TSC: wcpu_ClockFrequency isn't exact).

Shutdown

public virtual void Shutdown();

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD