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
public class RtPerformance : wRTOSObject
The RtPerformance class exposes the following members.
Constructors
|
|
Name | Description |
|---|---|---|
|
|
Initializes a new instance of the RtPerformance class. |
Properties
| Name | Description | |
|---|---|---|
|
|
True if the object has been disposed, false otherwise. (Inherited from wRTOSObject.) |
Methods
| Name | Description | |
|---|---|---|
|
|
Dispose method. (Inherited from wRTOSObject.) |
|
|
|
Called when a property is changed (Inherited from wRTOSObject.) |
|
|
|
RtQueryPerformanceCounter retrieves the current value of the high-resolution performance counter (based on the processor’s time-stamp counter, TSC). |
|
|
|
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 | |
|---|---|---|
|
|
Event Fired when a property value is changed (Inherited from wRTOSObject.) |
See Also: