jspraul / slimtune

Automatically exported from code.google.com/p/slimtune
MIT License
0 stars 0 forks source link

Provide a programmatic way to pause and resume the profiling #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure if this is even possible, but it would be nice to have some API 
available to pause and resume the data gathering of SlimTune in a 
programmatic way. A static class like what System.Diagnostics.Debugger 
provides for debuggers would be nice, but a hack such as listening for 
specific command strings sent to the debug output (using Debug.WriteLine) 
could also work.

This would simplify the profiling of very specific events. For example, in a 
game I'm developing, I'd use it to profile what happens between the moment I 
click on the "start game" button and the moment the first update frame is 
run. 

Original issue reported on code.google.com by tristanl...@gmail.com on 2 Feb 2010 at 12:42

GoogleCodeExporter commented 9 years ago
In the 0.2.x branch, I'm adding support for profiler control from the profiled 
app. I
don't think this particular feature will make it into 0.2.0, but something like 
it
should show up before much longer.

Original comment by promit....@gmail.com on 8 Feb 2010 at 5:58

GoogleCodeExporter commented 9 years ago
Fixed by r143.

Original comment by promit....@gmail.com on 13 Feb 2010 at 8:25