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  

Performance Library (WinSTL)
[WinSTLPerformance Library]

This library provides performance measuring facilities for the Win32 API. More...

Compounds

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

class  multimedia_counter
 A low-cost, low-resolution performance counter. More...

class  performance_counter
 A performance counter that uses the most accurate measurement APIs available on the host machine. More...

class  performance_counter_initialiser
 A veneer that initialises a performance counter. More...

class  performance_counter_scope
 Scopes the measurement period for a performance counter. More...

class  processtimes_counter
 A performance counter that provides process-specific performance timings. More...

class  systemtime_counter
 Performance counter that uses the Windows GetSystemTime() function. More...

class  threadtimes_counter
 A performance counter that provides thread-specific performance timings. More...

class  tick_counter
 A low-cost, low-resolution performance counter. More...


Operations

void start ()
 Starts measurement.

void stop ()
 Ends measurement.


Attributes

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.


Functions

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.

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.

void start ()
 Starts measurement.

void stop ()
 Ends measurement.

interval_type get_kernel_period_count () const
 The elapsed count in the measurement period for kernel mode activity.

interval_type get_kernel_seconds () const
 The number of whole seconds in the measurement period for kernel mode activity.

interval_type get_kernel_milliseconds () const
 The number of whole milliseconds in the measurement period for kernel mode activity.

interval_type get_kernel_microseconds () const
 The number of whole microseconds in the measurement period for kernel mode activity.

interval_type get_user_period_count () const
 The elapsed count in the measurement period for user mode activity.

interval_type get_user_seconds () const
 The number of whole seconds in the measurement period for user mode activity.

interval_type get_user_milliseconds () const
 The number of whole milliseconds in the measurement period for user mode activity.

interval_type get_user_microseconds () const
 The number of whole microseconds in the measurement period for user mode activity.

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.

 threadtimes_counter ()
 Constructor.

void start ()
 Starts measurement.

void stop ()
 Ends measurement.

interval_type get_kernel_period_count () const
 The elapsed count in the measurement period for kernel mode activity.

interval_type get_kernel_seconds () const
 The number of whole seconds in the measurement period for kernel mode activity.

interval_type get_kernel_milliseconds () const
 The number of whole milliseconds in the measurement period for kernel mode activity.

interval_type get_kernel_microseconds () const
 The number of whole microseconds in the measurement period for kernel mode activity.

interval_type get_user_period_count () const
 The elapsed count in the measurement period for user mode activity.

interval_type get_user_seconds () const
 The number of whole seconds in the measurement period for user mode activity.

interval_type get_user_milliseconds () const
 The number of whole milliseconds in the measurement period for user mode activity.

interval_type get_user_microseconds () const
 The number of whole microseconds in the measurement period for user mode activity.

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.

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

This library provides performance measuring facilities for the Win32 API.


Function Documentation

threadtimes_counter::interval_type get_kernel_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period for kernel mode activity.

This represents the extent, in whole microseconds, of the measurement period for kernel mode activity

processtimes_counter::interval_type get_kernel_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period for kernel mode activity.

This represents the extent, in whole microseconds, of the measurement period for kernel mode activity

threadtimes_counter::interval_type get_kernel_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period for kernel mode activity.

This represents the extent, in whole milliseconds, of the measurement period for kernel mode activity

processtimes_counter::interval_type get_kernel_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period for kernel mode activity.

This represents the extent, in whole milliseconds, of the measurement period for kernel mode activity

threadtimes_counter::interval_type get_kernel_period_count   [inline, inherited]
 

The elapsed count in the measurement period for kernel mode activity.

This represents the extent, in machine-specific increments, of the measurement period for kernel mode activity

processtimes_counter::interval_type get_kernel_period_count   [inline, inherited]
 

The elapsed count in the measurement period for kernel mode activity.

This represents the extent, in machine-specific increments, of the measurement period for kernel mode activity

threadtimes_counter::interval_type get_kernel_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period for kernel mode activity.

This represents the extent, in whole seconds, of the measurement period for kernel mode activity

processtimes_counter::interval_type get_kernel_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period for kernel mode activity.

This represents the extent, in whole seconds, of the measurement period for kernel mode activity

tick_counter::interval_type get_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period.

This represents the extent, in whole microseconds, of the measurement period

threadtimes_counter::interval_type get_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period.

This represents the extent, in whole microseconds, of the measurement period

processtimes_counter::interval_type get_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period.

This represents the extent, in whole microseconds, of the measurement period

performance_counter::interval_type get_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period.

This represents the extent, in whole microseconds, of the measurement period

multimedia_counter::interval_type get_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period.

This represents the extent, in whole microseconds, of the measurement period

highperformance_counter::interval_type get_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period.

This represents the extent, in whole microseconds, of the measurement period

tick_counter::interval_type get_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period.

This represents the extent, in whole milliseconds, of the measurement period

threadtimes_counter::interval_type get_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period.

This represents the extent, in whole milliseconds, of the measurement period

processtimes_counter::interval_type get_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period.

This represents the extent, in whole milliseconds, of the measurement period

performance_counter::interval_type get_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period.

This represents the extent, in whole milliseconds, of the measurement period

multimedia_counter::interval_type get_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period.

This represents the extent, in whole milliseconds, of the measurement period

highperformance_counter::interval_type get_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period.

This represents the extent, in whole milliseconds, of the measurement period

tick_counter::interval_type get_period_count   [inline, inherited]
 

The elapsed count in the measurement period.

This represents the extent, in machine-specific increments, of the measurement period

threadtimes_counter::interval_type get_period_count   [inline, inherited]
 

The elapsed count in the measurement period.

This represents the extent, in machine-specific increments, of the measurement period

processtimes_counter::interval_type get_period_count   [inline, inherited]
 

The elapsed count in the measurement period.

This represents the extent, in machine-specific increments, of the measurement period

performance_counter::interval_type get_period_count   [inline, inherited]
 

The elapsed count in the measurement period.

This represents the extent, in machine-specific increments, of the measurement period

multimedia_counter::interval_type get_period_count   [inline, inherited]
 

The elapsed count in the measurement period.

This represents the extent, in machine-specific increments, of the measurement period

highperformance_counter::interval_type get_period_count   [inline, inherited]
 

The elapsed count in the measurement period.

This represents the extent, in machine-specific increments, of the measurement period

tick_counter::interval_type get_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period.

This represents the extent, in whole seconds, of the measurement period

threadtimes_counter::interval_type get_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period.

This represents the extent, in whole seconds, of the measurement period

processtimes_counter::interval_type get_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period.

This represents the extent, in whole seconds, of the measurement period

performance_counter::interval_type get_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period.

This represents the extent, in whole seconds, of the measurement period

multimedia_counter::interval_type get_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period.

This represents the extent, in whole seconds, of the measurement period

highperformance_counter::interval_type get_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period.

This represents the extent, in whole seconds, of the measurement period

threadtimes_counter::interval_type get_user_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period for user mode activity.

This represents the extent, in whole microseconds, of the measurement period for user mode activity

processtimes_counter::interval_type get_user_microseconds   [inline, inherited]
 

The number of whole microseconds in the measurement period for user mode activity.

This represents the extent, in whole microseconds, of the measurement period for user mode activity

threadtimes_counter::interval_type get_user_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period for user mode activity.

This represents the extent, in whole milliseconds, of the measurement period for user mode activity

processtimes_counter::interval_type get_user_milliseconds   [inline, inherited]
 

The number of whole milliseconds in the measurement period for user mode activity.

This represents the extent, in whole milliseconds, of the measurement period for user mode activity

threadtimes_counter::interval_type get_user_period_count   [inline, inherited]
 

The elapsed count in the measurement period for user mode activity.

This represents the extent, in machine-specific increments, of the measurement period for user mode activity

processtimes_counter::interval_type get_user_period_count   [inline, inherited]
 

The elapsed count in the measurement period for user mode activity.

This represents the extent, in machine-specific increments, of the measurement period for user mode activity

threadtimes_counter::interval_type get_user_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period for user mode activity.

This represents the extent, in whole seconds, of the measurement period for user mode activity

processtimes_counter::interval_type get_user_seconds   [inline, inherited]
 

The number of whole seconds in the measurement period for user mode activity.

This represents the extent, in whole seconds, of the measurement period for user mode activity

void start   [inline, inherited]
 

Starts measurement.

Begins the measurement period

void start   [inline, inherited]
 

Starts measurement.

Begins the measurement period

void start   [inline, inherited]
 

Starts measurement.

Begins the measurement period

void start   [inline, inherited]
 

Starts measurement.

Begins the measurement period

void start   [inline, inherited]
 

Starts measurement.

Begins the measurement period

void start   [inline, inherited]
 

Starts measurement.

Begins the measurement period

void stop   [inline, inherited]
 

Ends measurement.

Ends the measurement period

void stop   [inline, inherited]
 

Ends measurement.

Ends the measurement period

void stop   [inline, inherited]
 

Ends measurement.

Ends the measurement period

void stop   [inline, inherited]
 

Ends measurement.

Ends the measurement period

void stop   [inline, inherited]
 

Ends measurement.

Ends the measurement period

void stop   [inline, inherited]
 

Ends measurement.

Ends the measurement period

threadtimes_counter   [inline, inherited]
 

Constructor.

Creates an instance of the class, and caches the thread token so that measurements will be taken with respect to the thread in which the class was created.


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