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 ...

Get C++ Multithreading Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.