Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:08:49

0001 
0002 //              Copyright Catch2 Authors
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //   (See accompanying file LICENSE.txt or copy at
0005 //        https://www.boost.org/LICENSE_1_0.txt)
0006 
0007 // SPDX-License-Identifier: BSL-1.0
0008 // Adapted from donated nonius code.
0009 
0010 #ifndef CATCH_SAMPLE_ANALYSIS_HPP_INCLUDED
0011 #define CATCH_SAMPLE_ANALYSIS_HPP_INCLUDED
0012 
0013 #include <catch2/benchmark/catch_estimate.hpp>
0014 #include <catch2/benchmark/catch_outlier_classification.hpp>
0015 #include <catch2/benchmark/catch_clock.hpp>
0016 
0017 #include <vector>
0018 
0019 namespace Catch {
0020     namespace Benchmark {
0021         struct SampleAnalysis {
0022             std::vector<FDuration> samples;
0023             Estimate<FDuration> mean;
0024             Estimate<FDuration> standard_deviation;
0025             OutlierClassification outliers;
0026             double outlier_variance;
0027         };
0028     } // namespace Benchmark
0029 } // namespace Catch
0030 
0031 #endif // CATCH_SAMPLE_ANALYSIS_HPP_INCLUDED