EQATEC Profiler is really suitable for automation: it has a command line version and API with which you can control most aspects of profiling, and you just have to use it in your unit tests.
The API is described in the profiler user guide . What you want to do is probably something like this:
- First add a link to the profiler API. You will find builds for four different platforms in the installed RuntimeDLL folder. You are probably looking
EQATEC.Profiler.RuntimeFullNet.dll, but there are also implementations for NetCF, Silverlight, and WP7. - , , ,
EQATEC.Profiler.Runtime.TakeSnapshot(). .
, unit , EQATECProfilerCmd.exe. :
EQATECProfilerCmd -build <your app directory>