hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

OpenMP load imbalance

mriedmann
初学者
433 次查看

In the past I used Oprofile for investigations on load imbalance because it has this nice table output with a column for each thread, see below. That make it easy to localize load imbalance. Is there a way to get a similar output formatting with VTune ?

 

oprof.png

标签 (1)
0 项奖励
1 解答
yuzhang3_intel
主持人
297 次查看

Set Grouping to 'Thread/Function/Call Stack' and get the command line to generate the report by pressing the button '>_ ' on the right side. 

yuzhang3_intel_0-1737536542439.png

 

vtune -report exec-query -rep-knob row-by="/GenericThread/Function/ParentCallStack" -sort-desc "CPU Time:Self" -rep-knob column-by="ViewpointGUIandCLIColumns" -r <result_dir>

在原帖中查看解决方案

0 项奖励
3 回复数
yuzhang3_intel
主持人
381 次查看

VTune provides a similar format report. 

You need to run the analysis type you need first, and then get report command line from the GUI, this can generate the report.

This is a hotspot result; you can press the >_ button to get the command line to generate the report.

 yuzhang3_intel_0-1737206423392.png

 

0 项奖励
mriedmann
初学者
340 次查看

Thanks, that helps a bit. However my main question is how to get the top hotspots listing side by side for each thread, not accumulated across all threads ?

0 项奖励
yuzhang3_intel
主持人
298 次查看

Set Grouping to 'Thread/Function/Call Stack' and get the command line to generate the report by pressing the button '>_ ' on the right side. 

yuzhang3_intel_0-1737536542439.png

 

vtune -report exec-query -rep-knob row-by="/GenericThread/Function/ParentCallStack" -sort-desc "CPU Time:Self" -rep-knob column-by="ViewpointGUIandCLIColumns" -r <result_dir>

0 项奖励
回复