English 中文(简体)
开放式主机,VTune, idle thread
原标题:OpenMP, VTune, idle threads

我使用VTune检查我代码的一致程度:Here是产出的筛选。 你们可以看到,有一段初步时间,有1条路透镜,然后有0.3条密集的多阅读工作(红spi),然后有近3秒的闲).(无“CPU”,即绿色“Running”。

任何想法,什么都会导致read在绿化状态? 我的法典在进行所有密集的计算之后,不应再等待3秒钟。

问题回答

如果没有宣传员,你的方案将执行多少? 是否更快? 看一看VTune的时间安排,我有一个印象,即主线可能利用read子(exit)离开主线,因此,开放式职业介绍所的工人read继续阻止该方案完成,直到某些时间结束,工人的read确实决定关闭。 见。 a 讨论读物。





相关问题
What to look for in performance analyzer in VS 2008

What to look for in performance analyzer in VS 2008 I am using VS Team system and got the performance wizard and reports going. What benchmarks/process do I use? There is a lot of stuff in the ...

SQL Table Size And Query Performance

We have a number of items coming in from a web service; each item containing an unknown number of properties. We are storing them in a database with the following Schema. Items - ItemID - ...

How to speed up Visual Studio 2008? Add more resources?

I m using Visual Studio 2008 (with the latest service pack) I also have ReSharper 4.5 installed. ReSharper Code analysis/ scan is turned off. OS: Windows 7 Enterprise Edition It takes me a long time ...

Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

How do I profile `paster serve` s startup time?

Python s paster serve app.ini is taking longer than I would like to be ready for the first request. I know how to profile requests with middleware, but how do I profile the initialization time? I ...

热门标签