Re: Controlling Shark from my application?
Re: Controlling Shark from my application?
- Subject: Re: Controlling Shark from my application?
- From: Rick Altherr <email@hidden>
- Date: Thu, 22 Mar 2007 14:39:39 -0700
The CHUD package shipped with Xcode does not include headers. The
standalone package available from http://developer.apple.com/tools/
download/ does include the headers. The TowersOfHanoi example will
show you exactly how to trigger Shark remotely.
--
Rick Altherr
Architecture and Performance Group
email@hidden
On Mar 22, 2007, at 1:18 PM, Jim Correia wrote:
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:
40apple.com
This email sent to email@hidden
_______________________________________________
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