Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to profile command line tools with shark?



   I am trying to use Shark to profile the gfortran/gcc/g++ build of
xplor-nih on MacOS X. However I am having alot of trouble configuring
Shark to do this. The program, xplor-nih, is normally run through a
shell script which presets alot of environmentals. I know I can do
that from the Launch dialog in Shark. However, this program is normally
run by directing a script into and saving the output to a file. That is...

xplor < rama.inp > rama.out

I never seem to create a output file when I try to do a time profile
in Shark. I also can't get Shark to redirect something as simple as...

ls / > /tmp/filelist

Can someone walk me through a simple example of how to properly use
Shark to profile command line executables? Thanks in advance.
           Jack
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.