Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

ProcessTimesCounter Class Reference
[synsoft.win32.perf]

List of all members.

Detailed Description

A performance counter that provides process-specific performance timings.

This class uses the operating system's performance monitoring facilities to provide timing information pertaining to the calling process only, irrespective of the activities of other processes on the system. This class does not provide meaningful timing information on operating systems that do not provide process-specific monitoring.


Public Types

typedef long interval_type
 The interval type.

typedef typedef PerformanceCounterScope<
ProcessTimesCounter > Scope 
scope_type
 The scope type.


Public Methods

void Start ()
 Starts measurement.

void Stop ()
 Ends measurement.

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

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

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

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

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

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

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

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

interval_type propget_PeriodCount ()
 The elapsed count in the measurement period.

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

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

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


Member Typedef Documentation

typedef long interval_type
 

The interval type.

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

typedef typedef PerformanceCounterScope<ProcessTimesCounter> Scope scope_type
 

The scope type.

The type with which instances of the counter class can be subject to the RAII protocol in order to scope particular measurement intervals


Member Function Documentation

interval_type propget_KernelMicroseconds   [inline]
 

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

interval_type propget_KernelMilliseconds   [inline]
 

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

interval_type propget_KernelPeriodCount   [inline]
 

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

interval_type propget_KernelSeconds   [inline]
 

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

interval_type propget_Microseconds   [inline]
 

The number of whole microseconds in the measurement period.

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

interval_type propget_Milliseconds   [inline]
 

The number of whole milliseconds in the measurement period.

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

interval_type propget_PeriodCount   [inline]
 

The elapsed count in the measurement period.

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

interval_type propget_Seconds   [inline]
 

The number of whole seconds in the measurement period.

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

interval_type propget_UserMicroseconds   [inline]
 

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

interval_type propget_UserMilliseconds   [inline]
 

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

interval_type propget_UserPeriodCount   [inline]
 

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

interval_type propget_UserSeconds   [inline]
 

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]
 

Starts measurement.

Begins the measurement period

void Stop   [inline]
 

Ends measurement.

Ends the measurement period


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

D Libraries documentation © Synesis Software Pty Ltd, 2002-2003