Performance counter
preetshari
Posts: 4
How to create a # of gen 0 collections counter?
Comments
Thank you for your post!
You'll need to add a custom counter to the profiler..
1. Create an XML file named UserCounters.xml in %LOCALAPPDATA%\Red Gate\ANTS Performance Profiler 82. In the file, add the following:
<Counters>
<Category Name=".NET CLR Memory">
<Counter Category=".NET CLR Memory" Name="# Gen 0 Collections" Units="Number">
<Instanced />
</Counter>
</Category>
</Counters>
3. Save the file, restart the profiler, and then the # Gen 0 Collections counter should now be available to add from the ".NET CLR Memory" category
(for more information on adding custom counters, please see here: http://documentation.red-gate.com/displ ... e+counters )
Jessica Ramos | Product Support Engineer | Redgate Software
Have you visited our Help Center?