I have a feeling I may already know the answer to this question, but I'll ask it anyway.
Are there any better ways of using the .Net Profiling API than the COM/Managed C++ route?
My reluctance to follow the suggested COM approach is as such:
I came across a project called NProf, which was an attempt to wrap the API with a managed layer. Unfortunately it hasn't been updated since 2003.
Does anyone have any leads that might help? This all just feels a bit nasty.
Clarifications:
You can take a look at Part-Cover. It's a code coverage tool (GPL) but it works similarly to NCover, which means it uses profiling API to do its job. Not sure how good or bad the code is, and of how much help it'll be for you (GPL may be an issue as well), but its something you may want to take a look at. It's been updated late last year and then went silent, so I'm not sure if the project is still active.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With