Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

"Failed to finalize the result"

Boris_Sunik
Beginner
883 Views

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.

0 Kudos
13 Replies
Bernard
Valued Contributor I
883 Views

Maybe your code runs to fast?

0 Kudos
Boris_Sunik
Beginner
883 Views

Your remark looks strange to me. Sure, the code is fast, but I did it once more with the disabled optimisation (release build). It changed nothing

0 Kudos
Bernard
Valued Contributor I
883 Views

I mean that sometimes profiled code runs faster than the time resolution of VTune.

0 Kudos
Boris_Sunik
Beginner
883 Views

What I has to do?

0 Kudos
SergeyKostrov
Valued Contributor II
883 Views
>>...I am using XE 2011. Seit last week I always get the Message while running Hotspot analysis "Failed to finalize the result"... Boris, What version & update of VTune do you use?
0 Kudos
Boris_Sunik
Beginner
883 Views

(build 119041) Copyright © 2009-2010 Intel Corporation. All rights reserved.

0 Kudos
David_A_Intel1
Employee
883 Views

So, the question is, how long *does* it take for your application to run to completion?  Someone previously correctly posted that if your app runs to completion faster than the resolution of the data collection, you will get no data on your app.  Also, if you press "Start Paused" and never "Resume" data collection, no data will be collected and your results *will* be empty!

What happens if you press "Start" instead of "Start Paused"?

0 Kudos
SergeyKostrov
Valued Contributor II
883 Views
Hi MrAnderson, >>...So, the question is, how long *does* it take for your application to run to completion?.. You could try a very simple test: void main( void ) { } and then profile it with VTune in order to see if VTune results will be saved. Please report results of your experiment.
0 Kudos
Boris_Sunik
Beginner
883 Views

MrAnderson (Intel) wrote:

What happens if you press "Start" instead of "Start Paused"?

It startes absolut normal and runs, but after I press "stop" or application exit  there are the message.

Alao if I press "Start Paused" it sometijmes starts to run and sometimes closed
Ligtweiht highlight functions OK.

Are there any Windows Update, which can cause the problem? I already deinstalled KB2823324  which did problems with Kaspersky, which was also deaktivated during the run

0 Kudos
Boris_Sunik
Beginner
883 Views

I did the test with all speed optimisations activated. It is OK

0 Kudos
Peter_W_Intel
Employee
883 Views

You said, lightweight-hotspots worked - since default sample interval is 1ms (1000 samples per second), but default sample interval of hotspots collection is 10ms. If your application run shortly, especially at interest of function(s), change sample interval of hotspots by Copying from Hotspots and create a new Hotspots analysis on GUI - you can modify sample interval.

Or, simply use in command line - (for example)

amplxe-cl -collect hotspots -knob sampling-interval=2 -- ./your-program

0 Kudos
Boris_Sunik
Beginner
883 Views

I  ran the application two times once with 2ms second with 50. The result was the same.

However these and previos runs were with the "attach to process". Last tiime I tried it with the "application start" and that functioned also with 2ms.

Previously functioned it also with the "attach to process".

0 Kudos
Bernard
Valued Contributor I
883 Views

>>>What I has to do?>>>

Sorry for late answer.You can proceed exactly like Peter advised in his post.

0 Kudos
Reply