RtPerformance Class

This class encapsulates the native real-time APIs RtQueryPerformanceFrequency and RtQueryPerformanceCounter, which provide fine granularity CPU performance data.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.wRTOSObject
    IntervalZero.MaxRT.wRTOS.RtApi.Diagnostics.RtPerformance

Namespace:  IntervalZero.MaxRT.wRTOS.RtApi.Diagnostics
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public class RtPerformance : wRTOSObject

 

The RtPerformance class exposes the following members.

Constructors

 

Name Description

Public method

RtPerformance

Initializes a new instance of the RtPerformance class.

Properties

  Name Description

Protected property

IsDisposed

True if the object has been disposed, false otherwise.

(Inherited from wRTOSObject.)

Methods

  Name Description

Public method

Dispose

Dispose method.

(Inherited from wRTOSObject.)

Protected method

OnNotifyPropertyChanged

Called when a property is changed

(Inherited from wRTOSObject.)

Public method

RtQueryPerformanceCounter

RtQueryPerformanceCounter retrieves the current value of the high-resolution performance counter (based on the processor’s time-stamp counter, TSC).

Public method

RtQueryPerformanceFrequency

RtQueryPerformanceFrequency retrieves the frequency of the high-resolution performance counter(based on the processor’s time-stamp counter, TSC). The frequency cannot change while the system is running.

Events

  Name Description

Public event

PropertyChanged

Event Fired when a property value is changed

(Inherited from wRTOSObject.)

See Also: