GPU Usage performance tests run from the command line

Maja 1 Reputation point
2021-11-25T08:26:16.663+00:00

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" - https://learn.microsoft.com/en-us/visualstudio/profiling/profile-apps-from-command-line?view=vs-2022.

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,

Maja

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.
351 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.