title: C GetTickCount (windows function) to Time (nanoseconds)
body: <p>I'm testing one code provided from my colleague and I need to measure the time of execution of one routine than performs a context switch (of threads).</p>
  
  <p>What's the best choice to measure the time? I know that is available High Resolution Timers like,</p>
  
  <pre><code>QueryPerformanceCounter
  QueryPerformanceFrequency
  </code></pre>
  
  <p>but how can I translate using that timers to miliseconds or nanoseconds?</p>