IADLXPerformanceMonitoringServices
The IADLXPerformanceMonitoringServices interface provides methods to configure the performance monitoring functionality and to obtain the performance data.
InterfaceId: |
IADLXPerformanceMonitoringServices |
Smart Pointer Interface Name: |
IADLXPerformanceMonitoringServicesPtr |
Inherits: |
|
Inherited By: |
N/A |
The IADLXPerformanceMonitoringServices interface provides:
-
The configuration for the performance metric sampling.
-
The methods to start and stop the performance metric sampling.
-
Access to the data from the performance metric buffer.
Methods
Method |
Description |
---|---|
Clears the buffer for performance monitoring. |
|
Gets the reference counted list of all the metrics in a time interval. |
|
Gets the reference counted IADLXAllMetrics interface for the current metric set. |
|
Gets the reference counted IADLXFPS interface for the current FPS metric. |
|
Gets the reference counted IADLXGPUMetrics interface for the current metric set of a GPU. |
|
Gets the duration of the metrics history from the performance monitoring buffer. |
|
Gets the reference counted IADLXSystemMetrics interface for the current metric set. |
|
Gets the reference counted list of FPS metrics in a time interval. |
|
Gets the reference counted list of GPU metrics in a time interval of a GPU. |
|
Gets the duration of the performance monitoring buffer. |
|
Gets the maximum size, minimum size, and step size for the performance monitoring buffer. |
|
Gets the sampling interval for performance monitoring. |
|
Gets the maximum sampling interval, minimum sampling interval, and step sampling interval for the performance monitoring. |
|
Gets the reference counted interface for discovering what performance metrics are supported on a GPU. |
|
Gets the reference counted interface for discovering what performance metrics are supported on the system. |
|
Gets the reference counted list of system metrics in a time interval. |
|
Sets the duration of the performance monitoring buffer. |
|
Sets the sampling interval for the performance monitoring. |
|
Increases the count for the performance metrics tracking. |
|
Decreases the count for the performance metrics tracking. |
Requirements
Header |
include “IPerformanceMonitoring.h” |
Minimum version |
1.0 |
Example
To see how to use this interface in a C++ application, refer to the PerfSystemMetrics C++ sample .
For a C application, refer to the PerfSystemMetrics C sample .