Intel® VTune™ Amplifier XE and VTune™ Performance Analyzer

how can Vtune record the asm code's cpu time

Hello, everyone

  recently, I am using Vtune to test my BSDE code in hotspot mode. I have found some insteresting things.

     int a,a1,a2,a3;

     float trans[4];

    _mm_store_ps(trans,a_sse);

   below are four lines of code

  1.   a= (int)*(trans);
  2.   a1= (int)*(trans+1);
  3.   a2= (int)(trans[2]);
  4.   a3 = (int )trans[3]; 

  compile using gcc with -O0 Optimize optimization, the time each line costs increase as below

sampling-interval knob with locksandwaits

Hi,

The VTune documentation http://software.intel.com/sites/products/documentation/doclib/stdxe/2013/amplifierxe/lin/ug_docs/hh_goto.htm#GUID-274DDE84-C483-45A7-B10F-85BD30943EEB.htm lists sampling-interval as one of the knobs that can be used with -collect locksandwaits. However, the following command line:

amplxe-cl -collect locksandwaits -knob sampling-interval=1 -- myapp

produces output:

[Outside Any know module] In vtune amplifier

 I generated report in linux system for c++ code by attaching it to the running process using vtune amplifier  and then when I am viewing it in windows

in top -down tree , it show that [outside any known module] has taken 30 % of CPU time while for rest 70% time it shows some function names.

 I want to know what all are the possibile locations ,tasks,activities etc  where this 30% time is getting consumed  and is not mentioned in the report

 

Any kind of probable ideas may be helpful.

Thanks

Collection failed. The data cannot be displayed. Error: Binary load failed.

According to this error reporting this is definitely a pre-C++-Exception-Handling application (which means pre-1996).

And I'm copying this error message by hand since copy&paste is also not yet invented!

Analysis is:

General Exploration - Knights Corner Platform.

On the console it says (again -- somebody deep in the library using printf since we don't know about C++-Exception-Handling):

Unable to use "Cycles and uOps" analysis

I am unable to run "Cycles and uOps" analysis under Sandy Bridge / Ivy Bridge / Haswell Analysis. It says - This analysis type is only defined for the processors based on the intel microarchitecture code name Sandy Bridge / Ivy Bridge.

I am running vtune as administrator and "Run as Administrator". System details are 

Product version: Update 5 (build 274450)

OS: Windows server 2008 R2 standard Service Pack 1

Processor : intel i5-3570 @ 3.4 GHz - Turbo boost disabled

Memory: 8GB

Can anyone help me on this?

"Failed to finalize the result"

I am using XE 2011. Seit last week I always get the Message while running Hotspot analysis""Failed to finalize the result.  the result you ar opening is empty. this may be caused by an error during data collection. try to re-run the analysis"

I am using Wiindow 7, 64 bit, starting as admin. and when I press "Start Paused" it ieither gnore it and starts immediately starts or produce the above error message.

Error: PMU resources are not available.

Intel VTune Amplifier XE 2013

Windows 8 64 bits. VS 2010 & VS 2012. IvyBridge, i7, GT2.

when I try to run bandwidth - Sandy Bridge / Ivy Bridge analysis, I get this error:

Error: PMU resources are not available. Hardware Event-based Sampling is not supported on this operating system.

Then I checked driver status - here's what I got. In admin commandline of coz.

Seiten

Intel® VTune™ Amplifier XE and VTune™ Performance Analyzer abonnieren