• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shark + Intel compilers = no source view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shark + Intel compilers = no source view?


  • Subject: Re: Shark + Intel compilers = no source view?
  • From: "Eric A. Borisch" <email@hidden>
  • Date: Thu, 18 Dec 2008 19:57:01 -0600

Rick,

Thank you for looking into this!

Shark v. 4.6.1 (227)

 Eric

On Thu, Dec 18, 2008 at 5:30 PM, Rick Altherr <email@hidden> wrote:
This _should_ work.  What version of Shark are you using?  I will try to get a copy of ICC 11 to test.

Rick


On Dec 18, 2008, at 2:24 PM, Eric A. Borisch wrote:

Is there any way to get the source code view working in shark with Intel-compiled (icpc) code?

I've tried, for example,

test.cpp (A make-work for the CPU exercise...)
---
#include <iostream>

using namespace std;

int main(const int argc, const char * argv[])
{
uint64_t j = 1;
for (uint64_t i=0; i < 1E10; i++) j = j * 7;
cout << j << endl; // Don't care, but don't optimize me away!
}
---
Compiled via: icpc -o test.o test.cpp -g -O0 -debug full -c && icpc -o test test.o -g -debug full 

And then launched with shark for time profile; I get no source code browser, and I have to turn off callstack mining to get any results at all..

Any suggestions?

Compiler version:
Intel(R) C++ Compiler Professional for applications running on Intel(R) 64, Version 11.0    Build 20081105 Package ID: m_cproc_p_11.0.056
Copyright (C) 1985-2008 Intel Corporation.  All rights reserved.

Thanks,
 Eric
--
Eric A. Borisch
email@hidden

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)

This email sent to email@hidden

--
Rick Altherr
Architecture and Performance Group
email@hidden



--
Eric A. Borisch
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Shark + Intel compilers = no source view? (From: "Eric A. Borisch" <email@hidden>)
 >Re: Shark + Intel compilers = no source view? (From: Rick Altherr <email@hidden>)

  • Prev by Date: Re: Age Old Question: How Do You Set __MyCompanyName__
  • Next by Date: Re: Error 0xE800003A
  • Previous by thread: Re: Shark + Intel compilers = no source view?
  • Next by thread: Re: Shark + Intel compilers = no source view?
  • Index(es):
    • Date
    • Thread