Performance monitoring

P

Peter Kirk

Hi

I would like some general pointers about monitoring some performance
parameters of an application we have written. For example: how many threads
it has currently running, how long the threads take, how much memory the
application is using, what percentage of cpu capacity the application is
using.

I assume a good idea would be to use a PermanceCounter (or several). I have
read a little about them on the web, but I've not really come very far yet.

Do PerformanceCounters for the abovementioned tasks exist, or do I need to
create a "custom" counter? How do I actually use the counter - does the
application being monitored need to instantiate and update the counters, or
can that happen automatically (without needing to alter the source code for
the application)? How do I present the counter information - do I use
"Perfmon"?

Thanks for any pointers,
Peter
 
V

Vadym Stetsyak

P

Peter Kirk

Vadym Stetsyak said:
Performance counters are not the only things to measure performance, the
are
different tools called profilers with the help of which you can measure
performance of your application and detect performance bottle necks.

Here are some free ones.
You can use CLR Profiler (
http://www.microsoft.com/downloads/...52-D7F4-4AEB-9B7A-94635BEEBDDA&displaylang=en )
or DevPartner Profiler (
http://www.compuware.com/products/d...r+Community+Edition'&offering=DevPartner&sf=1 )
- needs free registration

Thanks for the links. Turns out they were fine for our purpose - and we
could identify at least one place where our program has a bottleneck.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top