O'Reilly logo

C++ Multithreading Cookbook by Milos Ljumovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Improving the performance factors

We said that it is important to build a strong sequential algorithm before we go parallel. We also said that there are parameters such as performance speed-up and efficiency. How can you really measure these variables so that you can determine whether you should go parallel or not? If we do go parallel, will the application benefit from it and how significantly?

We will try to answer these questions in this topic, and we'll give an example of a built-in Visual Studio compiler feature, which relies on OpenMP, the API developed by Intel in cooperation with Livermore National Laboratories from the United States. OpenMP stands for open multiprocessor compilation, which is the Microsoft implementation of the OpenMP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required