GPU Usage performance tests run from the command line

Maja 1 Reputation point

Hi Team,

I've been trying to run GPU Usage tests from a command line for a while now. So far I've been able to generate .diagsession files from agent configuration files by following the steps described in "Measure application performance from the command line" -

In order to be able to run the GPU test, a .json file was created that contains a GpuProfilingCollectionAgent.dll and its COM CLSID, but when trying to start the diagnostic session, in the same way as described above (as described in "Measure application performance from the command line"), an error appears as seen in the attached image.

I would like to know how to start GPU performance tests from the command line? And why does the procedure described above not have the intended effect?

Beast regards,


Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
318 questions
{count} votes