• 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: Instruments source line colors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instruments source line colors?


  • Subject: Re: Instruments source line colors?
  • From: Mark Szymczyk <email@hidden>
  • Date: Sun, 28 Oct 2012 17:13:51 -0400

Rick,

The percentage represents the percentage of the statistic (allocated memory, leaked memory, execution time, etc.) for the function that occurred in that line of code. In the example you linked to, the blue line says that 50% of the memory allocated in the function gotNTPResponse occurred in the highlighted line of code, and the yellow line says that 25% of the allocated memory was allocated in the line highlighted in yellow. The extended detailed view also shows the statistics, which you can see on the right side of your screenshot.

In the upper right corner of the source code view are five small buttons. Clicking the rightmost button lets you tell Instruments to view as a value instead of a percentage.

I have not seen any documentation for what the highlighted colors mean. From what I can tell, darker colors represent higher percentages, with red representing the highest percentages and blue representing the next highest percentages.

Mark Szymczyk
Author, Xcode Tools Sensei, Updated for Xcode 4.5
http://www.meandmark.com




 _______________________________________________
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: Instruments source line colors?
      • From: Rick Mann <email@hidden>
  • Prev by Date: Re: Proper use of Header files
  • Next by Date: Re: Instruments source line colors?
  • Previous by thread: Instruments source line colors?
  • Next by thread: Re: Instruments source line colors?
  • Index(es):
    • Date
    • Thread