• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Controlling Shark from my application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Controlling Shark from my application?
      • From: Daniel Jalkut <email@hidden>
References: 
 >Controlling Shark from my application? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Controlling Shark from my application?
  • Next by Date: Multiple Install Directory Paths
  • Previous by thread: Re: Controlling Shark from my application?
  • Next by thread: Re: Controlling Shark from my application?
  • Index(es):
    • Date
    • Thread