title: How to measure user time used by process on windows?
body: <p>On linux we can use "time" command.
  Or from C++:</p>
  
  <pre><code>#include &lt;sys/time.h&gt;
  #include &lt;sys/resource.h&gt;
  
  int getrusage(int who, struct rusage *usage);
  </code></pre>
  
  <p>How to do a closest thing to that on windows ?</p>