Libstdc++ Gets C++20 Chrono
isocpp.org
isocpp.org
<chrono> abstracts all of that away and replaces it with an easy to use API that is cross-platform. It was a god-send for a project many moons ago. Required me to upgrafe to C++14 but totally worth it.
Kudos to the <chrono> team for resolving such a painful issue!
https://www.intel.com/content/dam/www/public/us/en/documents...
3.2.1 The Improved Benchmarking Method
Benchmarking needs a separate timer_start and timer_end function. One with cpuid,rdtsc and one with rdtscp,cpuid.
fmt however is not there to use yet.
So calendrical calculations and time zone support.
GCC 13 will have <format>: https://gcc.gnu.org/pipermail/libstdc++/2022-November/054991...