Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-15 08:54:33

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_ENVIRONMENT_HPP_INCLUDED
0011 #define CATCH_ENVIRONMENT_HPP_INCLUDED
0012 
0013 #include <catch2/benchmark/catch_clock.hpp>
0014 #include <catch2/benchmark/catch_outlier_classification.hpp>
0015 
0016 namespace Catch {
0017     namespace Benchmark {
0018         struct EnvironmentEstimate {
0019             FDuration mean;
0020             OutlierClassification outliers;
0021         };
0022         struct Environment {
0023             EnvironmentEstimate clock_resolution;
0024             EnvironmentEstimate clock_cost;
0025         };
0026     } // namespace Benchmark
0027 } // namespace Catch
0028 
0029 #endif // CATCH_ENVIRONMENT_HPP_INCLUDED