File indexing completed on 2025-09-17 08:53:26
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef CATCH_CLOCK_HPP_INCLUDED
0011 #define CATCH_CLOCK_HPP_INCLUDED
0012
0013 #include <chrono>
0014
0015 namespace Catch {
0016 namespace Benchmark {
0017 using IDuration = std::chrono::nanoseconds;
0018 using FDuration = std::chrono::duration<double, std::nano>;
0019
0020 template <typename Clock>
0021 using TimePoint = typename Clock::time_point;
0022
0023 using default_clock = std::chrono::steady_clock;
0024 }
0025 }
0026
0027 #endif