common: Implement a high resolution steady clock

This implementation provides a consistent, high performance, and high resolution clock where/when std::chrono::steady_clock does not provide sufficient precision.
This commit is contained in:
Morph 2023-03-01 19:17:50 -05:00
parent ce8f4da638
commit bd09c82521
3 changed files with 81 additions and 0 deletions

View file

@ -113,6 +113,8 @@ add_library(common STATIC
socket_types.h
spin_lock.cpp
spin_lock.h
steady_clock.cpp
steady_clock.h
stream.cpp
stream.h
string_util.cpp