STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

highperformance_counter Class Reference
[Performance Library (WinSTL)]

A performance counter that uses the high performance hardware counter on the host machine. More...

#include <winstl_highperformance_counter.h>

List of all members.

Public Types

typedef ws_sint64_t interval_type
 The interval type.


Public Methods

void start ()
 Starts measurement.

void stop ()
 Ends measurement.

interval_type get_period_count () const
 The elapsed count in the measurement period.

interval_type get_seconds () const
 The number of whole seconds in the measurement period.

interval_type get_milliseconds () const
 The number of whole milliseconds in the measurement period.

interval_type get_microseconds () const
 The number of whole microseconds in the measurement period.


Detailed Description

A performance counter that uses the high performance hardware counter on the host machine.

This class provides high-resolution performance monitoring using the host machine's high performance hardware counter. This class does not provide meaningful timing information on operating systems that do not provide a high performance hardware counter.


Member Typedef Documentation

typedef ws_sint64_t interval_type
 

The interval type.

The type of the interval measurement, a 64-bit signed integer


The documentation for this class was generated from the following file:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004