Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

ThreadUserTimer Class Reference

#include <hrtimer.h>

Inheritance diagram for ThreadUserTimer:

TimerBase List of all members.

Detailed Description

measure CPU time spent executing instructions of this thread (if supported by OS)

/note This only works correctly on Windows NT or later. On Unix it reports process time, and others wall clock time.

Definition at line 33 of file hrtimer.h.

Public Types

enum  Unit { SECONDS = 0, MILLISECONDS, MICROSECONDS, NANOSECONDS }

Public Member Functions

 ThreadUserTimer (Unit unit=TimerBase::SECONDS, bool stuckAtZero=false)
word64 GetCurrentTimerValue ()
word64 TicksPerSecond ()
void StartTimer ()
double ElapsedTimeAsDouble ()
unsigned long ElapsedTime ()


The documentation for this class was generated from the following files:
Generated on Wed Jul 21 19:16:15 2004 for Crypto++ by doxygen 1.3.7-20040704