File indexing completed on 2025-10-26 08:39:54
0001 
0002 
0003 
0004 
0005 
0006 
0007 
0008 
0009 
0010 #ifndef CATCH_TIMING_HPP_INCLUDED
0011 #define CATCH_TIMING_HPP_INCLUDED
0012 
0013 #include <catch2/benchmark/catch_clock.hpp>
0014 #include <catch2/benchmark/detail/catch_complete_invoke.hpp>
0015 
0016 #include <type_traits>
0017 
0018 namespace Catch {
0019     namespace Benchmark {
0020         template <typename Result>
0021         struct Timing {
0022             IDuration elapsed;
0023             Result result;
0024             int iterations;
0025         };
0026         template <typename Func, typename... Args>
0027         using TimingOf = Timing<Detail::CompleteType_t<FunctionReturnType<Func, Args...>>>;
0028     } 
0029 } 
0030 
0031 #endif