Performance counters are missing from the timeline Performance counters are missing from the timeline

Performance counters are missing from the timeline

In certain situations, the performance counters may be missing from the performance counter results during a profiler session, resulting in a blank timeline.

There are many possible causes for the problem, but they all can usually be fixed by rebuilding the performance counter objects.

To rebuild your performance counters:

Open a command prompt and run the following commands:

cd %systemroot%\system32

lodctr /R

and then reboot the computer. Other performance counters may exist outside the system32 folder.

If you need to rebuild the .NET performance counters:

locate the file corperfmonsymbols.ini. This should reside in the %systemroot%\\framework\v4.0.30319 directory, but may be in %systemroot%\inf\.netFramework as well. Use lodctr against this file to rebuild the performance counters from a command prompt by running the following commands:

unlodctr .NetFramework

 cd %systemroot\inf\.netFramework (or the folder containing corperfmonsymbols.ini)

 lodctr corperfmonsymbols.ini

For more information, see How to manually rebuild Performance Counter Library values (Microsoft KB)

It is also possible that performance objects are disabled and therefore unavailable to query. 

The EXCTRLST.exe tool from Microsoft will show you whether or not a particular performance object is enabled and allow you to enable it. This tool can be downloaded for free from Microsoft

If any of the performance counters are not enabled, they will not appear in the ANTS Memory Profiler performance counter graph.

On some versions of Windows, performance counters can be disabled globally by setting the registry value HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib to "1".

Use perfmon to check the counters display correctly.