Resolution versus tick frequency

I understand that

std::chrono::high_resolution_clock::period::num / std::chrono::high_resolution_clock::period::den;

      

specify the tick frequency, but how can I determine the clock resolution? (under windows this relation brings me back 1e-007

)

For example, in windows high_resolution_clock

there is typedef

of system_clock

which fades every ~ 15ms with 100Ξs precision, and boost::chrono high_resolution_clock

is typedef

of steady_clock

how can I determine its resolution

+3
c ++ time


source to share


No one has answered this question yet

Check out similar questions:

five
Correct way to map timecode using C ++ 11
4
Accurate C / C ++ clock on a multicore processor with auto overclocking?
4
std :: chrono :: time_point currently set
3
High Definition Clock in VS2013
2
extending std :: chrono functionality to work with constant runtime periods (no compilation)
1
QueryPerformanceCounter (), but on OSX
1
Secrets of the clock in the chrono library
1
How to make my system support nano seconds precision
0
"Overtime": where is it defined and how is it most often applied?
0
std :: chrono doesn't seem to give exact resolution / frequency



All Articles
Loading...
X
Show
Funny
Dev
Pics