I am writing a code that uses C++11 threading library. When running the code, it creates 15 threads and I can see around 75% reduction in execution time. However, looking at the CPU usage in the task manager performance window I only see two among the 8 (dual core) CPUs busy.
Any one may have explanation for this ?
Aucun commentaire:
Enregistrer un commentaire