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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:58 PM.

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

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