Red Gate forums :: View topic - Performance counter
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Performance Profiler 8
ANTS Performance Profiler 8 forum

Performance counter

Search in ANTS Performance Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
preetshari



Joined: 17 Sep 2013
Posts: 2

PostPosted: Tue Sep 17, 2013 6:58 pm    Post subject: Performance counter Reply with quote

How to create a # of gen 0 collections counter?
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 214

PostPosted: Wed Sep 18, 2013 8:29 pm    Post subject: Reply with quote

Hi preetshari,

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 8
2. 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/display/APP80/Setting+up+chart+performance+counters )
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group