I'm looking for get the GPU load (MFX and EU loads) inside my C++ application.
So is here any way to use the "DirectTraceSample" or anay other DLL to have access to such measure.
At this time there is no way for you to get the metrics values via an API call from within your application.
Can you help me understand what you are trying to do and why you need this? There may be a way for Intel GPA to provide the info you need.
I'm runing several applications that use the Intel MFX "encoder" and I want to monitor remotely the GPU usage (by sending values via ethernet) to check the hardware "GPU" limitation.
In my company we use our own secure connection between the client and the server, so what I need is a C++ like method to get the GPU usage/MFX.
Now I understand why an API is necessary -- the secure connection between client and server.
Unfortunately, since there's no way to get this data from within your app/game, the only option I can think of is to write out data via a user-defined trigger (such as every
Whether this method works depends upon your specific use model, but at this time there is no API read access from within the Intel GPA product.
ps-> You're not the only person to request this feature, and I've submitted this as a feature request to see if we can add this capability in a future release.
My inderstanding of "capture.exe" and "playback.exe" is that they are useful to play and capture frames and can not be used to get the GPU load if for example I'm runnig an application such "sample_encode.exe" from the "Intel Media SDK" samples.
This topic has been active for more than 4 years now.
Has this functionality been added or is there a plan to add this as there is a real need to be able to check this.
just to add one more user that needs this functionality.
Yes we do support MFX and EU metrics in our System Analyzer version of our product.
Here is a good resource to get you started: https://software.intel.com/en-us/articles/how-to-analyze-intel-media-sdk-applications-with-intel-graphics-performance-analyzers
Let me know if you have any other questions!
The GPA is a product that needs to be installed, i think this question was regarding the possibility to get the performance (in my case i need Total GPU load and memory usage) programmatically through an API.
So the GPA can read the gpu load and memory and what would be nice is an API so i can call the same functions the analyser is using for the GPA application.
Is there such and API/SDK/Functionality in MediaSDK maybe? so the GPA tool is not usable for programmatic access.
I think what you are looking for can be found here:
Intel® Metrics Framework - https://software.intel.com/en-us/node/659423
Intel® Platform Analysis Library - https://software.intel.com/en-us/intel-platform-analysis-library
I have been trying to use the API, and have some questions:
1 - do i have to have the GM_Server component running on the system to be able to read the counters?
2 - I have found the "com.intel.gpu.gpu_busy" property that gives the GPU usage, however i must run in Admin context before the numbers are correct. is this a must?
3 - I can not find any property that can give me the GPU memory usage number, is it possible to have this metric as well?
I am glad we are making some progress.
For questions about using the API (Platform Analysis Library) I will need to point you to a much more knowledgable group which can be found here: https://software.intel.com/en-us/forums/software-tuning-performance-optimization-platform-monitoring