User Tools

Site Tools



C# - How to write a simple profiler ?

The goal of this article is to use the profiling API of .Net framework to write a custom profiler. It will help to understand the way the profiler are working with the framework and knows their limitation.

One of the simplest tools release by Microsoft is the CLR Profiler 1). Use the one that match your target.

Concepts behind a profiler ?

You can access to metrics through the .Net framework. They are known as performance counter.



technical_notes/public/20131013-cs-write-simple-profiler.txt · Last modified: 2014/04/10 19:12 by Fabien Arcellier