Re: Shark + Intel compilers = no source view?
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,
_______________________________________________
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
--
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