templexxx / tsc

Get unix time (nanoseconds) in 8ns, 10x faster than stdlib
MIT License
136 stars 5 forks source link

Add more information about TSC frequency in README & comment #1

Closed templexxx closed 3 years ago

templexxx commented 4 years ago
  1. How it works

  2. How stable it is

  3. Is there any other solution

templexxx commented 4 years ago

I have to say the crystal in CPU is not that good. If you really want stable and fast time, FPGA or other hardware solution should be considered.

templexxx commented 4 years ago

PCBA + atomic clock chip maybe the best answer:

https://www.microsemi.com/product-directory/embedded-clocks-frequency-references/5570-miniature-atomic-clock-mac-sa5x

templexxx commented 3 years ago

done