title: Is the CLOCKS_PER_SEC value "wrong" inside a virtual machine
body: <p>I code inside a virtual machine( Linux Ubuntu) that's installed on a windows.
  According to <a href="https://linux.die.net/man/3/clock" rel="nofollow noreferrer">this page</a>, the CLOCKS_PER_SEC value in the  library on Linux should always be 1 000 000. 
  <br>When I run this code:</p>
  
  <pre><code>int main()
  {
      printf("%d\n", CLOCKS_PER_SEC);
      while (1)
         printf("%f, %f \n\n", (double)clock(), (double)clock()/CLOCKS_PER_SEC);
      return 0;
  }
  </code></pre>
  
  <p>The first value is 1 000 000 as it should be, however, the value that should show the number of seconds does NOT increase at the normal pace (it takes between 4 and 5 seconds to increase by 1)
  <br>Is this due to my working on a virtual machine? How can I solve this?</p>