Hjaltesorgenfrei / dot-net-profiler-template

This can be used as a starting point for an own .net profiler using the Profiling API in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.NET Profiler Template

This is a small starter example that enables you to write your own .NET profiler using the .NET Profiling API.

Projectstructure

This project consists of three projects:

ProfilerAtl

The profiler. Don't be afraid of C++ code :-)

App

This can also be replaced by a normal batch file. It only exists to start the app to be profiled and attach the profiler by using some enviornment variables.

ErrorThrowingApp

This represents the app to be profiled. It continuously throws an exception.

Links

I will maintain a list of links to some helpful resources here

Creating a custom NET Profiler that logs function calls Summary of Profiling API

  • You should read the section "Receiving Method Entry and Exit Notifications".

http://www.blong.com/conferences/dcon2003/internals/profiling.htm#Ref1

About

This can be used as a starting point for an own .net profiler using the Profiling API in C++

License:MIT License


Languages

Language:C++ 60.8%Language:C 27.3%Language:C# 11.3%Language:Batchfile 0.6%