You could also use shark on the Mac to profile. Do man shark

  gprof is probably unhappy because your code is built with 64 bit arch and 
gprof only supports 32 bit version or the other way around.

   Barry


On Sep 2, 2010, at 5:27 PM, Jed Brown wrote:

> On Thu, 2 Sep 2010 15:59:15 -0600 (GMT-06:00), Shri <abhyshr at mcs.anl.gov> 
> wrote:
>> gprof is giving an error when i'm trying to profile the test case i have. 
>> Here's the error:
>> gprof ex35 > log.out gprof: file: ex35 is not of the host architecture
> 
> If you want to push ex35 and tell me what options to run it with, I'll
> profile it.  BTW, I'm not a fan of gprof since it's cumbersome and
> inaccurate.
> 
> Jed


Reply via email to