File indexing completed on 2025-01-30 10:02:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef CATCH_ESTIMATE_HPP_INCLUDED
0011 #define CATCH_ESTIMATE_HPP_INCLUDED
0012
0013 namespace Catch {
0014 namespace Benchmark {
0015 template <typename Duration>
0016 struct Estimate {
0017 Duration point;
0018 Duration lower_bound;
0019 Duration upper_bound;
0020 double confidence_interval;
0021
0022 template <typename Duration2>
0023 operator Estimate<Duration2>() const {
0024 return { point, lower_bound, upper_bound, confidence_interval };
0025 }
0026 };
0027 }
0028 }
0029
0030 #endif