Red Gate forums :: View topic - Automatic Memory Profiling
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Memory Profiler 8
ANTS Memory Profiler 8 forum

Automatic Memory Profiling

Search in ANTS Memory Profiler 8 forum
Post new topic   Reply to topic
Jump to:  
Author Message
hanen



Joined: 16 Jan 2014
Posts: 2

PostPosted: Thu Jan 16, 2014 8:05 pm    Post subject: Automatic Memory Profiling Reply with quote

Is it possible to start and stop a performance profiling snapshot programmatically from within the application being profiled.
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 184

PostPosted: Sat Jan 18, 2014 12:40 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
hanen



Joined: 16 Jan 2014
Posts: 2

PostPosted: Thu Jan 23, 2014 5:11 pm    Post subject: Reply with quote

Jessica,

Thank you for your response!

You're referring to memory profiling in your answer...what about performance profiling?
Back to top
View user's profile Send private message
jessica.ramos



Joined: 23 Apr 2012
Posts: 184

PostPosted: Thu Jan 23, 2014 8:25 pm    Post subject: Reply with quote

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. Smile

You should hear from me soon!
_________________
Jessica Ramos
Technical Support
Red Gate Software Ltd.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group