title: Create thread with >70% CPU utilization
body: <p>I am creating a test program to test the functionality of program which calcultes CPU Utilization.</p>
  
  <p>Now I want to test that program at different times when CPU utilization is 100%, 50% 0% etc.</p>
  
  <p>My question how to make CPU to utilize to 100% or may be > 80%.</p>
  
  <p>I think creating a while loop  like will suffice</p>
  
  <pre><code>while(i++&lt; 2000)
  {
     cout&lt;&lt;" in while "&lt;&lt; endl;
     Sleep(10); // sleep for 10 ms.
  }
  </code></pre>
  
  <p>After running this I dont get high CPU utilization.
  What would be the possible solutions to make high cpu intensive??</p>