You need to open Performance Monitor, right-click on the graph and select Add Counter.
The following dialog box appears:
First, please notice that there is a Process category. (The Stack Overflow question to which you had linked didn't show the category in its screenshot. But mine is showing it. It is at the top of the list in the screenshot and is blue.) You need to expand it and select % Processor Time.
Please be careful: You need the Process category, not Processor and not anything else!
Then, from the bottom pane, you need to select your process.
They are missing
Are your performance counters missing? It is possible to rebuild them using the following:
- The HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009 Registry key, which is large
- The
perfc009.dat
and perfh009.dat
files, which go into your system32
folder.
I have collected these from a copy of Windows 10 Version 1709 x64. But anyone else can always collect them from a fresh copy of the appropriate version and edition of Windows 10. Simply, install one on a virtual machine. You don't even need to activate it.
To copy these item to their correct places (Windows Registry and system32
folder), you need to start Windows in safe mode.