//===-- Common utility class for differential analysis --------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "src/__support/CPP/algorithm.h" #include "src/__support/FPUtil/FPBits.h" #include "src/__support/macros/config.h" #include "test/src/math/performance_testing/Timer.h" #include <fstream> namespace LIBC_NAMESPACE_DECL { namespace testing { template <typename T> class SingleInputSingleOutputPerf { … }; } // namespace testing } // namespace LIBC_NAMESPACE_DECL #define SINGLE_INPUT_SINGLE_OUTPUT_PERF(T, myFunc, otherFunc, filename) … #define SINGLE_INPUT_SINGLE_OUTPUT_PERF_EX(T, myFunc, otherFunc, rounds, \ filename) …