Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 4, 2012, 12:20 PM   #1
patrick.
macrumors newbie
 
Join Date: Sep 2012
Problems using Instruments

I'm using the time profiler in instruments to examine some crucial lines in my code and seem to get very inconsistent results between runs. At times it even allocates time to commented segments of code... Does anyone have any tips on the correct use of the profiler or is it just not suitable for my needs?

I'm working in C++ and using the intel compilers in the command line. To complicate things when the program is run it launches multiple proceses that communicate.
patrick. is offline   0 Reply With Quote
Old Dec 4, 2012, 03:04 PM   #2
PatrickCocoa
macrumors 6502a
 
Join Date: Dec 2008
Generic advise

I don't have any specific help for you, but if you haven't used Instruments a lot, or haven't used it for time profiling, you may want to step back from the problem at hand. Use this as an opportunity to sharpen your skill and knowledge of one of your tools (in this case, Instruments time analysis).

Spend a few hours with some WWDC videos on instruments. Google Instruments time analysis tutorial and read/watch what comes up. Read the Apple documentation.
__________________
iMac 21.5", 3.06GHz, 4 GB, 2 TB HD.
iPod Touch 3G.
PatrickCocoa is offline   0 Reply With Quote
Old Dec 5, 2012, 10:06 AM   #3
patrick.
Thread Starter
macrumors newbie
 
Join Date: Sep 2012
Quote:
Originally Posted by PatrickCocoa View Post
I don't have any specific help for you, but if you haven't used Instruments a lot, or haven't used it for time profiling, you may want to step back from the problem at hand. Use this as an opportunity to sharpen your skill and knowledge of one of your tools (in this case, Instruments time analysis).

Spend a few hours with some WWDC videos on instruments. Google Instruments time analysis tutorial and read/watch what comes up. Read the Apple documentation.
Thanks, i'll check out the WWDC videos.
patrick. is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
VFX / Virtual Instruments problem jasonizz Digital Audio 2 Sep 29, 2013 05:14 PM
post your music studio / instruments bluebird3 Picture Gallery 2 Sep 9, 2013 11:56 PM
instruments + undoManger = busted. IDMah iPhone/iPad Programming 2 Aug 23, 2012 01:04 PM
Dear Texas Instruments, moonman239 Mac Peripherals 0 Jun 26, 2012 06:13 PM
Where to put virtual instruments? MisterSensitive Digital Audio 4 Jun 10, 2012 07:57 PM

Forum Jump

All times are GMT -5. The time now is 05:20 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC