Run the Application

To run the application you built:

  1. Run the application as you would normally. When run, the program outputs a long list of length and location pairs.
  2. Optionally, to compare the performance of this example to a sequential version, you can build and run the extended version of the SubStringFinder example located in the Intel® Threading Buildings Blocks examples/GettingStarted folder as sub_string_finder_extended.cpp. This extended example calculates and displays the speedup obtained by using Intel Threading Building Blocks to parallelize the algorithm compared to performing the same work sequentially.

如需更全面地了解编译器优化,请参阅优化注意事项