Or you can use the "Network Profiling" feature of Shark.
Yusuf
On Dec 26, 2004, at 6:13 PM, Paul Russell wrote:
On Dec 26, 2004, at 11:35 PM, Ross Boylan wrote:
On Sun, 2004-12-26 at 15:24 -0800, Ross Boylan wrote:
I am developing on an OS X cluster, which means my machine is not the
cluster. My understanding is that this means I can't run native,
graphical applications on the cluster and see their display; please
correct me if I'm wrong.
I forgot one other point. The application is ported from other *nix
systems and is built with makefiles. It's not a product of Project
Builder or Xcode Tools, except that it does use the
compiler/linker/etc
from the latter.
It is important to keep the library workable on a cross-platform
basis.
The best profiler is Shark, and it's relatively easy to collect
profiles remotely using command line tools, and then display the
collected profile data graphically on a local Mac.
On your target machine(s) (i.e. one or more machines in your clusters)
you need to install the CHUD tools. You also need to install CHUD on
the machine which you are going to use for analysing profiles later.
Ideally you need to compile your executable using -g (so that you get
source level analysis) but this is not absolutely essential. You may
also want to add some CHUD-specific calls to your application to
start/stop profiling but this is also not absolutely essential.
When you want to capture a profile, connect to a target machine in
your cluster using ssh and use the "shark" command line tool (man
shark for more info). Then copy the captured profile (e.g.
session_001.mshark) to your local machine and open it with the Shark
GUI application.
Email me off list if need any more help with this and I'll be happy to
help.
Regards,
Paul
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/perfoptimization-dev/
email@hidden