Re: Programmatically annotating Instruments?
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