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.
Hello,With Intel GPA you can monitor GPU usage in a client/server mode -- take a look at the System Analyzer tool (see this link), and also take a look at the tool's support for media.Does this give you the capabilities that you need?Regards,Neal
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 seconds, or every frames, or another trigger you define), then read that file from your client process. Also, take a look at the "capture.exe" and "playback.exe" utilities in the Intel GPA install area as well (they are command-line tools).
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.
Hello,I'll retry some of my sample apps to be sure that these utilities work as expected.Regards,Neal
Any news regarding my question.
Nothing new... we don't currently support what you are trying to do. I've submitted this as an enhancement request to the development team.
Can I get GPU load via an API call in my application?
Thanks for suggesting this again, but unfortunately Intel GPA does not have an API for this information.
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...
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
Thank you very much, i will look into this and get back to you if there are issues :)
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-opti...
Thank you Ryan, i will post there instead.
I have gone to the Intel Platform Analysis Library web page MANY times, and requested a license/download instructions, but I NEVER get a reply, and I can not find any info on the site on how to download it.
Is this a dead project, or is Intel just awful at responding to requests???
This forum is for questions relating to Intel® GPA. I, unfortunately, do not have the answer to your question because of that reason. However, from looking around on the Intel website, it seems as though they no longer have support for the product.
You can still download the metrics framework from the form you filled out (a link pops up after you approve the EULA). If you do want to double check with some other engineers, there is a premier support service that is actively monitored. The forums, for some products, are not as actively monitored by Intel® engineers and you may have better luck using the premier support services.