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:

IADLXInterface

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

ClearPerformanceMetricsHistory

Clears the buffer for performance monitoring.

GetAllMetricsHistory

Gets the reference counted list of all the metrics in a time interval.

GetCurrentAllMetrics

Gets the reference counted IADLXAllMetrics interface for the current metric set.

GetCurrentFPS

Gets the reference counted IADLXFPS interface for the current FPS metric.

GetCurrentGPUMetrics

Gets the reference counted IADLXGPUMetrics interface for the current metric set of a GPU.

GetCurrentPerformanceMetricsHistorySize

Gets the duration of the metrics history from the performance monitoring buffer.

GetCurrentSystemMetrics

Gets the reference counted IADLXSystemMetrics interface for the current metric set.

GetFPSHistory

Gets the reference counted list of FPS metrics in a time interval.

GetGPUMetricsHistory

Gets the reference counted list of GPU metrics in a time interval of a GPU.

GetMaxPerformanceMetricsHistorySize

Gets the duration of the performance monitoring buffer.

GetMaxPerformanceMetricsHistorySizeRange

Gets the maximum size, minimum size, and step size for the performance monitoring buffer.

GetSamplingInterval

Gets the sampling interval for performance monitoring.

GetSamplingIntervalRange

Gets the maximum sampling interval, minimum sampling interval, and step sampling interval for the performance monitoring.

GetSupportedGPUMetrics

Gets the reference counted interface for discovering what performance metrics are supported on a GPU.

GetSupportedSystemMetrics

Gets the reference counted interface for discovering what performance metrics are supported on the system.

GetSystemMetricsHistory

Gets the reference counted list of system metrics in a time interval.

SetMaxPerformanceMetricsHistorySize

Sets the duration of the performance monitoring buffer.

SetSamplingInterval

Sets the sampling interval for the performance monitoring.

StartPerformanceMetricsTracking

Increases the count for the performance metrics tracking.

StopPerformanceMetricsTracking

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 .

Related pages

  • Visit the Adlx product page for download links and more information.

Looking for more documentation on GPUOpen?

AMD GPUOpen software blogs

Our handy software release blogs will help you make good use of our tools, SDKs, and effects, as well as sharing the latest features with new releases.

GPUOpen Manuals

Don’t miss our manual documentation! And if slide decks are what you’re after, you’ll find 100+ of our finest presentations here.

AMD GPUOpen Performance Guides

The home of great performance and optimization advice for AMD RDNA™ 2 GPUs, AMD Ryzen™ CPUs, and so much more.

Getting started: AMD GPUOpen software

New or fairly new to AMD’s tools, libraries, and effects? This is the best place to get started on GPUOpen!

AMD GPUOpen Getting Started Development and Performance

Looking for tips on getting started with developing and/or optimizing your game, whether on AMD hardware or generally? We’ve got you covered!

AMD GPUOpen Technical blogs

Browse our technical blogs, and find valuable advice on developing with AMD hardware, ray tracing, Vulkan®, DirectX®, Unreal Engine, and lots more.

Find out more about our software!

AMD GPUOpen Effects - AMD FidelityFX technologies

Create wonder. No black boxes. Meet the AMD FidelityFX SDK!

AMD GPUOpen Samples

Browse all our useful samples. Perfect for when you’re needing to get started, want to integrate one of our libraries, and much more.

AMD GPUOpen developer SDKs

Discover what our SDK technologies can offer you. Query hardware or software, manage memory, create rendering applications or machine learning, and much more!

AMD GPUOpen Developer Tools

Analyze, Optimize, Profile, Benchmark. We provide you with the developer tools you need to make sure your game is the best it can be!