- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to use option "/Zi" and "/DEBUG" to build on Windows, use "-g" option on Linux.
I have no problem to use "-group-by source-line": I ran program under directory where it has executable and source
(You may add "-search-dir all:rp=/home/your-exe-path" when data collecting?)
# source /opt/intel/vtune_amplifier_xe_2011/amplxe-vars.sh
Copyright (C) 2009-2012 Intel Corporation. All rights reserved.
Intel VTune Amplifier XE 2011 (build 221625)
# amplxe-cl -collect hotspots -- ./primes.icc
Determining primes from 1 - 100000
Found 9592 primes
Using result path `/home/peter/problem_report/r003hs'
Executing actions 75 % Generating a report
Summary
-------
Elapsed Time: 0.967
CPU Time: 2.370
Executing actions 100 % done
# amplxe-cl -report hotspots -group-by source-line -r r003hs
Using result path `/home/peter/problem_report/r003hs'
Executing actions 75 % Generating a report
Source File Source Line Module Source File Path CPU Time
----------- ----------- ---------- ------------------------------------- --------
primes.cpp 391 primes.icc /home/peter/problem_report/primes.cpp 2.360
primes.cpp 395 primes.icc /home/peter/problem_report/primes.cpp 0.010
Executing actions 100 % done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the update, this is NOT the VTune issue.
VTune Amplifier XE doesn't rely on compiler type, that means, the tool supports standard binary/symbolformat - i.e. PE2 , DWARF, etc.
However if you choose Intel compiler - which provides more advanced options to build executable for performance gain.
Regards, Peter
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page