std::chrono::high_resolution_clock::now (3) Linux Manual Page
std::chrono::high_resolution_clock::now – std::chrono::high_resolution_clock::now Synopsis static std::chrono::time_point<std::chrono::high_resolution_clock> now() noexcept; (since C++11) Returns a time point representing the current point in time. Parameters (none) Return value A time point representing the current time. Example // Run this code #include <iostream> #include <vector> #include <numeric> #include <chrono> volatile int sink; int main() { for (auto size = 1ull;…
