• 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
Controlling Shark from my application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Controlling Shark from my application?
      • From: Rick Altherr <email@hidden>
    • Re: Controlling Shark from my application?
      • From: Eric Eizenman <email@hidden>
  • Prev by Date: Re: turning a specific warning into an error
  • Next by Date: Re: Controlling Shark from my application?
  • Previous by thread: Re: turning a specific warning into an error
  • Next by thread: Re: Controlling Shark from my application?
  • Index(es):
    • Date
    • Thread