Automatic Memory Profiling

Memory profiling for .NET developers

Moderator: dom.smith

Automatic Memory Profiling

Postby hanen » Thu Jan 16, 2014 8:05 pm

Is it possible to start and stop a performance profiling snapshot programmatically from within the application being profiled.
hanen
 
Posts: 2
Joined: Thu Jan 16, 2014 7:55 pm

Postby jessica.ramos » Sat Jan 18, 2014 12:40 am

No, I'm sorry to say

You can use the snapshot API to trigger the profiler to take snapshots at certain parts in your code during a profiling session, but starting and stopping the session can only be done from the profiler UI.
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm

Postby hanen » Thu Jan 23, 2014 5:11 pm

Jessica,

Thank you for your response!

You're referring to memory profiling in your answer...what about performance profiling?
hanen
 
Posts: 2
Joined: Thu Jan 16, 2014 7:55 pm

Postby jessica.ramos » Thu Jan 23, 2014 8:25 pm

Hi hanen,

No worries!

Yes, this applies for the memory profiler.

The performance profiler is a bit different in that it doesn't take snapshots, but continuously collects data throughout the entire profiling session. The performance profiler does have a command line API so that you can programmatically start/stop a profiling session, though I'm not sure if it will meet the needs of what you're trying to do. I'm going to send you an email with more details to avoid any confusion from this being on the memory profiler forum. :)

You should hear from me soon!
Jessica Ramos
Technical Support
Red Gate Software Ltd.
jessica.ramos
 
Posts: 235
Joined: Mon Apr 23, 2012 1:13 pm


Return to ANTS Memory Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests