title: Why infinity loop does not take cpu usage to 100
body: <p>When I run a simple c# program with a empty while loop, my cpu usage goes up from 8-12% to 24-20% and core usage pattern is almost identical.</p>
  
  <pre><code>    static void Main(string[] args)
      {
          bool flag = true;
          while(flag)
          {
  
          }
      }
  </code></pre>
  
  <p>Could anyone please explain this behavior. I was expecting one core usage goes to 100% at this time. </p>
  
  <p>Update: I am using octa-core machine and total cpu usage (summing up all core usage) goes to 25%. And each core (leaving the first one) shows similar usage pattern (which is around 25%)</p>
  
  <p><a href="https://i.stack.imgur.com/Hr46b.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Hr46b.jpg" alt="enter image description here"></a></p>