title: timespec equivalent for windows
body: <p>I am porting my application to <code>windows</code> from <code>unix</code> and I have run into a wall. In my application I need to find time in microseconds (the whole application heavily depends on it due to it being a high precision application). </p>
  
  <p>Previously I was using <code>timespec</code> structure, but windows contains no such thing. The command <code>GetTickCount</code> does not suffice because it returns time in milliseconds. I was also thinking of <code>QueryPerformanceFrequency</code>. </p>
  
  <p>Would anyone happen to know something that is as identical to <code>timespec</code> as possible?</p>
  
  <p>In the future I might even require nanoseconds too, which nothing I have searched in windows supports.</p>