• 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: Programmatically annotating Instruments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically annotating Instruments?


  • Subject: Re: Programmatically annotating Instruments?
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 01 Aug 2013 21:13:58 -0500

On Aug 1, 2013, at 2:43 PM, Rick Mann wrote:

> Is there any way to call a method in my code and have that show up as a marker in the Instruments record? Can I pass any additional data (a string, perhaps)?

Yes and yes.  Read about the DTPerformanceSession framework:
https://developer.apple.com/library/mac/documentation/AnalysisTools/Conceptual/WhatsNewInstruments/NewFeatures40/NewFeatures40.html#//apple_ref/doc/uid/TP40010950-CH2-SW10
https://developer.apple.com/library/mac/documentation/AnalysisTools/Conceptual/WhatsNewInstruments/NewFeatures40/NewFeatures40.html#//apple_ref/doc/uid/TP40010950-CH2-SW16
https://developer.apple.com/library/mac/documentation/AnalysisTools/Conceptual/WhatsNewInstruments/NewFeatures41/NewFeatures41.html#//apple_ref/doc/uid/TP40010950-CH3-SW3

Also read about signpost events:
https://developer.apple.com/library/mac/documentation/AnalysisTools/Conceptual/WhatsNewInstruments/NewFeatures41/NewFeatures41.html#//apple_ref/doc/uid/TP40010950-CH3-SW12

Regards,
Ken


 _______________________________________________
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: Programmatically annotating Instruments?
      • From: Rick Mann <email@hidden>
References: 
 >Programmatically annotating Instruments? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: I have a 0-day exploit, but don't want to tell you what it is
  • Next by Date: Re: Programmatically annotating Instruments?
  • Previous by thread: Programmatically annotating Instruments?
  • Next by thread: Re: Programmatically annotating Instruments?
  • Index(es):
    • Date
    • Thread