| View previous topic :: View next topic |
| Author |
Message |
bwb
Joined: 24 Feb 2012 Posts: 4
|
Posted: Wed Apr 04, 2012 1:04 pm Post subject: more hotspots |
|
|
Dear Users and Developers,
compiling OpenMP applications repeatedly delivers the hotspot "seconds" only. Different combinations of the switches
-pg -mp -Mprof=lines -Mprof=func -Minfo=ccff
do not change this behavior. Since other hotspots as COUNTS or COST (see the sort menu) are of certain interest I wonder how to convince the profiler to do that. Do I have to read any hardware counters for this purpose?
Thank you in advance for any ideas.
BWB |
|
| Back to top |
|
 |
donb
Joined: 20 Jul 2004 Posts: 82 Location: The Portland Group, Inc.
|
Posted: Mon Apr 09, 2012 9:19 am Post subject: |
|
|
It appears that you are using multiple instrumentation flags on your compile line.
Recommend that you try
| Code: | | -mp -Mprof=lines -Minfo=ccff |
Then just run the program (do not use pgcollect for instrumented code) to generate your pgprof.out file and see if that provides what you want. |
|
| Back to top |
|
 |
bwb
Joined: 24 Feb 2012 Posts: 4
|
Posted: Mon Apr 16, 2012 3:43 am Post subject: |
|
|
| Yes, it works. Thank you. |
|
| Back to top |
|
 |
|