Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pg83yandex_ru
Beginner
94 Views

vtune '-collect hotspots' does not work

Hi.
I have strange profile results for my program:
# amplxe-cl -duration=20 -collect hotspots ./nehtest 20000
Warning: Failed to stop the sampling timer for the thread 7655.
Warning: Failed to stop the sampling timer for the thread 7653.
Using result path `./r002hs'
Executing actions 16 % Loading data files
Warning: Cannot load data file `./r002hs/data.0/7633-7637.0.log' ().
Executing actions 75 % Generating a report
Summary
-------
Elapsed Time: 3.315
CPU Time: 3.247
Executing actions 100 % done
amplxe-cl -duration=20 -collect hotspots ./nehtest 20000Warning: Failed to stop the sampling timer for the thread 7655.Warning: Failed to stop the sampling timer for the thread 7653.Using result path `./r002hs'Executing actions 16 % Loading data files Warning: Cannot load data file `./r002hs/data.0/7633-7637.0.log' ().Executing actions 75 % Generating a report Summary-------
Elapsed Time: 3.315CPU Time: 3.247Executing actions 100 % done
Instead of 20 seconds, it works 3 seconds, without producing good results.
Simple 'amplxe-cl -duration=20 -collect hotspots ls -la' works fine.
uname -a
Linux laptop 3.2.0-17-generic #27-Ubuntu SMP Fri Feb 24 22:03:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
0 Kudos
3 Replies
Rob5
New Contributor II
94 Views

There have been several instances where similar behavior was resolved by installing the latest version Update 7. Are you running Update 7? If not can you install the latest version?

- Rob

pg83yandex_ru
Beginner
94 Views

Already have it:
# amplxe-cl --version
Intel VTune Amplifier XE 2011 Update 7 (build 206420) Command Line Tool
Copyright (C) 2009-2011 Intel Corporation. All rights reserved.
amplxe-cl --versionIntel VTune Amplifier XE 2011 Update 7 (build 206420) Command Line ToolCopyright (C) 2009-2011 Intel Corporation. All rights reserved.
Rob5
New Contributor II
94 Views

For hotspots analysis, the -duration only specifies the time limit in seconds for the analysis. If your application runs for a shorter time than what duration is set to, the analysis will stop. Can you let me know how long your application runs outside of Intel VTune Amplifier XE? If it does run for only 3 or so seconds, can you significantly increase the number of seconds your application runs to see if the behavior changes? Can you let me know more about the nature of your application ./nehtest? What libraries are being called? Are you able to provide a sample application that reproduces the behavior?

Thanks
Rob

Reply