Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.
When using PERF, is there a way to get a sum of all of the instances that it returns? I'm looking to get the total GPU usage percentage, but this particular counter doesn't offer _Total. Instead, it returns a huge number of instances, and the GPU percentage seems to be the total of all of those instances. Here is the code I'm using:
PERF=path:\GPU Engine(*)\Utilization Percentage,display:%UtilizationPercentage%
I could add a sum column but my question is: is the gpu utilisation really the sum total of each of those instances? Looking at the instance names, I'm not so sure.
@glenn Thank you for your reply. The code posted <a href=" removed link " target="_blank" rel="noopener">here sums up the instances (although it looks like it can be optimized a bit by using GPU Engine(*engtype_3D) instead of GPU Engine(*)), and the author says that it matches the total shown in Task Manager. I tested it a few times in PowerShell, and it seems to be pretty accurate.
@glenn Oops, looks like I can't post links yet. If you go to SuperUser and search for "engtype_3D", the only result should be the code I was referring to.
Ok, I'm getting a better picture of that counter. I imagine a sum function would return a single row that is the sum of all returned rows or possibly an "add-total" option that would insert a _total row where none exists.@glenn Oops, looks like I can't post links yet. If you go to SuperUser and search for "engtype_3D", the only result should be the code I was referring to.
