Controlling Shark from my application?
Controlling Shark from my application?
- Subject: Controlling Shark from my application?
- From: Jim Correia <email@hidden>
- Date: Thu, 22 Mar 2007 16:18:51 -0400
What is the best way to start/stop a perf session from within my
application (for the cases when I want to get profile data for an
isolated piece of code)?
I'm using Xcode 2.4.1, and installed the CHUD tools that were part of
that package. CHUD.framework is a private framework with no headers.
The documentation mentions chudStartRemotePerfMonitor()/
chudStopRemotePerfMonitor(), but the lack of headers is a problem :-).
It looks like the other possibility is to just fork/exec the
chudRemoteCtrl tool. Has anyone had success with doing so? Since this
is only for profiling, that doesn't strike me as too offensive...
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden