Take the 2-minute tour ×  Does boost chrono provides time stamp
with nanoseconds resolution?? If yes how to get the time stamp?
share|improve this question As you insist. The best you can
theoretically get since Vista is by using HPET (High Precision
Event Timer). See here
en.wikipedia.org/wiki/High_Precision_Event_Timer. The problem is
how to get it via QueryPerformanceCounter() that uses the HPET
when available and set in BIOS. –  SChepurin Oct 18 '12 at 15:15
@SChepurin "The best you can theoretically get since Vista is by
using HPET"? Why if my processor works with 3.33 GHz it is
because it is the fastes clock in OS? –  Narek Oct 19 '12 at
8:40 add comment  2 Answers  up vote 2 down vote accepted
Nanoseconds resolution ? On which hardware do you want to run
your program ? On my PC, my performance counter has a frequency
of approx. 4 Mhz, so a tick last 250 ns.  As answered here,
boost chrono can give you the nanosecond resolution, but you
will not be sure of the measure's accuracy.  share|improve this
a