catch_benchmark_all.hpp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright Catch2 Authors
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // https://www.boost.org/LICENSE_1_0.txt)
  5. // SPDX-License-Identifier: BSL-1.0
  6. /** \file
  7. * This is a convenience header for Catch2's benchmarking. It includes
  8. * **all** of Catch2 headers related to benchmarking.
  9. *
  10. * Generally the Catch2 users should use specific includes they need,
  11. * but this header can be used instead for ease-of-experimentation, or
  12. * just plain convenience, at the cost of (significantly) increased
  13. * compilation times.
  14. *
  15. * When a new header is added to either the `benchmark` folder, or to
  16. * the corresponding internal (detail) subfolder, it should be added here.
  17. */
  18. #ifndef CATCH_BENCHMARK_ALL_HPP_INCLUDED
  19. #define CATCH_BENCHMARK_ALL_HPP_INCLUDED
  20. #include <catch2/benchmark/catch_benchmark.hpp>
  21. #include <catch2/benchmark/catch_chronometer.hpp>
  22. #include <catch2/benchmark/catch_clock.hpp>
  23. #include <catch2/benchmark/catch_constructor.hpp>
  24. #include <catch2/benchmark/catch_environment.hpp>
  25. #include <catch2/benchmark/catch_estimate.hpp>
  26. #include <catch2/benchmark/catch_execution_plan.hpp>
  27. #include <catch2/benchmark/catch_optimizer.hpp>
  28. #include <catch2/benchmark/catch_outlier_classification.hpp>
  29. #include <catch2/benchmark/catch_sample_analysis.hpp>
  30. #include <catch2/benchmark/detail/catch_analyse.hpp>
  31. #include <catch2/benchmark/detail/catch_benchmark_function.hpp>
  32. #include <catch2/benchmark/detail/catch_complete_invoke.hpp>
  33. #include <catch2/benchmark/detail/catch_estimate_clock.hpp>
  34. #include <catch2/benchmark/detail/catch_measure.hpp>
  35. #include <catch2/benchmark/detail/catch_repeat.hpp>
  36. #include <catch2/benchmark/detail/catch_run_for_at_least.hpp>
  37. #include <catch2/benchmark/detail/catch_stats.hpp>
  38. #include <catch2/benchmark/detail/catch_timing.hpp>
  39. #endif // CATCH_BENCHMARK_ALL_HPP_INCLUDED