Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
5260 Discussions

vTune Sampling Results scattered in multiple rows -- for my single core application

k_sarnath
Beginner
1,100 Views

Hi,

I am trying to profile a single core application (matrix kindaa 2D operation..).

I tried sample profiling with 11 events. When I drill down into my EXE in the sampling results, the window shows 4 threads and data are scaterred between these rows.. Howver, my application is only single-threaded. To reduce confusion, I also nail my main thread to 1 core using the following call:

SetThreadAffinityMask(GetCurrentThread(), 1);

Since the data is scattered in 4 rows now, certain ratios are not coming out clearly. For example: DTLB_MISSES.ANY and INST_RETIRED.ANY are seen in different rows and hence DTLB Miss Rate is 0 in all the 4 rows... I had to divide the data from 2 different rows to make sure that I get the correct rate...

How do I get past this?

Also, what is the "%" of various events shown in the sampling results? They are all 100% always....May be, if I drill down further there would be variations.... Ha.. Possibly...

Thanks for your time,

Best Regards,

Sarnath

0 Kudos
1 Solution
David_A_Intel1
Employee
1,100 Views
Yeah, this is simply a result of having to run your single-threaded application multiple times to collect all the events, since the processor only supports collecting N events at a time.

The trick is to skip the thread view. To do this, from the process view, click on the Modules button:



Which will give you the module-level data with the ratios:



Let me know if that helps.

View solution in original post

0 Kudos
4 Replies
David_A_Intel1
Employee
1,101 Views
Yeah, this is simply a result of having to run your single-threaded application multiple times to collect all the events, since the processor only supports collecting N events at a time.

The trick is to skip the thread view. To do this, from the process view, click on the Modules button:



Which will give you the module-level data with the ratios:



Let me know if that helps.
0 Kudos
k_sarnath
Beginner
1,100 Views

This looks like a good idea... I was always wondering how togo-up after I drill-down..... Looks like, "Modules" is the key..... Right?
Is there any other way to drill-upward like a stack(for a lack of better word) after I drill-down..

Thanks! (I was expecting the forum to notify me of replies... I had subscribed to this thread.. Sadly that does not work..)

0 Kudos
David_A_Intel1
Employee
1,100 Views
Likewise, I expected to be notified of your reply, but the special mechanism for us is not working, either. :-(

To answer your question, though, you may notice the tabs at the bottom of the display. You can use these to jump "back" to where you drilled down from:

0 Kudos
k_sarnath
Beginner
1,100 Views
Vow! That was useful! Thank you very much Mr.Anderson!
0 Kudos
Reply