| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark_register.cc | 202 Benchmark::Benchmark(const char* name) in Benchmark() function in benchmark::internal::Benchmark 223 Benchmark::~Benchmark() {} in ~Benchmark() 230 Benchmark* Benchmark::Arg(int64_t x) { in Arg() 252 Benchmark* Benchmark::Ranges( in Ranges() 266 Benchmark* Benchmark::ArgsProduct( in ArgsProduct() 321 Benchmark* Benchmark::Apply(void (*custom_arguments)(Benchmark* benchmark)) { in Apply() 344 Benchmark* Benchmark::MinTime(double t) { in MinTime() 391 Benchmark* Benchmark::UseRealTime() { in UseRealTime() 398 Benchmark* Benchmark::UseManualTime() { in UseManualTime() 423 Benchmark* Benchmark::Threads(int t) { in Threads() [all …]
|
| H A D | benchmark_api_internal.h | 20 BenchmarkInstance(Benchmark* benchmark, int family_index, 50 Benchmark& benchmark_;
|
| H A D | benchmark_api_internal.cc | 10 BenchmarkInstance::BenchmarkInstance(Benchmark* benchmark, int family_idx, in BenchmarkInstance()
|
| H A D | CMakeLists.txt | 56 # Benchmark main library
|
| /llvm-project-15.0.7/third-party/benchmark/bindings/python/google_benchmark/ |
| H A D | benchmark.cc | 68 using benchmark::internal::Benchmark; in PYBIND11_MODULE() 69 py::class_<Benchmark>(m, "Benchmark") in PYBIND11_MODULE() 83 .def("dense_range", &Benchmark::DenseRange, in PYBIND11_MODULE() 87 .def("args_product", &Benchmark::ArgsProduct, in PYBIND11_MODULE() 90 .def("arg_names", &Benchmark::ArgNames, in PYBIND11_MODULE() 92 .def("range_pair", &Benchmark::RangePair, in PYBIND11_MODULE() 98 .def("iterations", &Benchmark::Iterations, in PYBIND11_MODULE() 100 .def("repetitions", &Benchmark::Repetitions, in PYBIND11_MODULE() 108 .def("use_real_time", &Benchmark::UseRealTime, in PYBIND11_MODULE() 110 .def("use_manual_time", &Benchmark::UseManualTime, in PYBIND11_MODULE() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/ |
| H A D | tsan_bench.cpp | 24 static void Benchmark() { in Benchmark() function 35 Benchmark<uint8_t, noinstr>(); in TEST() 39 Benchmark<uint8_t, __tsan_read1>(); in TEST() 43 Benchmark<uint8_t, __tsan_write1>(); in TEST() 47 Benchmark<uint16_t, noinstr>(); in TEST() 51 Benchmark<uint16_t, __tsan_read2>(); in TEST() 55 Benchmark<uint16_t, __tsan_write2>(); in TEST() 59 Benchmark<uint32_t, noinstr>(); in TEST() 63 Benchmark<uint32_t, __tsan_read4>(); in TEST() 71 Benchmark<uint8_t, noinstr>(); in TEST() [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/include/benchmark/ |
| H A D | benchmark.h | 378 class Benchmark; variable 386 Benchmark* RegisterBenchmarkInternal(Benchmark*); 902 class Benchmark { 904 virtual ~Benchmark(); 915 Benchmark* Arg(int64_t x); 992 Benchmark* Apply(void (*func)(Benchmark* benchmark)); 1037 Benchmark* UseRealTime(); 1066 Benchmark* Threads(int t); 1089 Benchmark* ThreadPerCpu(); 1095 Benchmark(Benchmark const&); [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/docs/ |
| H A D | tools.md | 1 # Benchmark Tools 43 Benchmark Time CPU Iterations 59 Benchmark Time CPU Iterations 72 Benchmark Time CPU Time Old Time New CPU Old CPU … 108 Benchmark Time CPU Iterations 119 Benchmark Time CPU Iterations 127 Benchmark Time CPU Time Old Time New CPU … 159 Benchmark Time CPU Iterations 170 Benchmark Time CPU Iterations 178 Benchmark Time CPU Time Old Time New CPU …
|
| H A D | AssemblyTests.md | 3 The Benchmark library provides a number of functions whose primary 12 This document describes how the Benchmark library tests compiler output, 65 The Benchmark tests use `CHECK-CLANG` and `CHECK-GNU` for lines that 79 versions may generate entirely different code. The Benchmark tests
|
| H A D | index.md | 1 # Benchmark chapter
|
| H A D | user_guide.md | 25 [Custom Benchmark Name](#custom-benchmark-name) 76 Benchmark Time(ns) CPU(ns) Iterations 175 Benchmark Time CPU Iterations 203 Benchmark Time CPU Iterations 419 static void CustomArguments(benchmark::internal::Benchmark* b) { 427 ### Passing Arbitrary Arguments to a Benchmark 488 ## Custom Benchmark Name 692 Benchmark Time CPU Iterations UserCounters... 720 Benchmark Time CPU Iterations Bar Bat Baz Foo 731 Benchmark Time CPU Iterations
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | LibcMemoryBenchmarkMain.cpp | 261 std::unique_ptr<MemfunctionBenchmarkBase> Benchmark; in main() local 263 Benchmark.reset(new MemfunctionBenchmarkSweep()); in main() 265 Benchmark.reset(new MemfunctionBenchmarkDistribution(getDistributionOrDie( in main() 267 writeStudy(Benchmark->run()); in main()
|
| H A D | RATIONALE.md | 19 2. **Representativeness**: Benchmark performance metrics should be broadly 22 4. **Repeatability**: Benchmark results can be verified. 23 5. **Cost-effectiveness**: Benchmark tests are economical. 24 6. **Scalability**: Benchmark tests should measure from single server to 26 7. **Transparency**: Benchmark metrics should be easy to understand. 226 1. Why don't you use Google Benchmark directly? 228 We reuse some parts of Google Benchmark (detection of frequency scaling, CPU 230 functions Google Benchmark have a few issues: 232 - Google Benchmark privileges code based configuration via macros and 238 Benchmark is cumbersome as it involves templated benchmarks and
|
| H A D | CMakeLists.txt | 43 # Build Google Benchmark for libc 135 # Benchmark all implementations that can run on the target CPU. 169 # This target uses the Google Benchmark facility to report throughput for llvm
|
| H A D | LibcMemoryGoogleBenchmarkMain.cpp | 87 BENCHMARK(BM_NAME)->Apply([](benchmark::internal::Benchmark *benchmark) { \
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | CMakeLists.txt | 10 # Build Google Benchmark for libc++ 50 # Build Google Benchmark for the native stdlib 76 # Benchmark tests configuration 157 # Register Benchmark tests 205 message(STATUS "Adding Benchmark: ${test_file}")
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/benchmarks/ |
| H A D | CMakeLists.txt | 1 add_benchmark(ClangPseudoBenchmark Benchmark.cpp)
|
| /llvm-project-15.0.7/libcxx/docs/ |
| H A D | TestingLibcxx.rst | 122 The benchmarks are written using the `Google Benchmark`_ library, a copy of which 125 For more information about using the Google Benchmark library see the 128 .. _`Google Benchmark`: https://github.com/google/benchmark 172 For more information about running benchmarks see `Google Benchmark`_.
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | BenchmarkResult.cpp | 340 InstructionBenchmark Benchmark; in readYaml() local 342 yaml::yamlize(Yin, Benchmark, /*unused*/ true, Context); in readYaml() 345 return Benchmark; in readYaml()
|
| /llvm-project-15.0.7/third-party/benchmark/test/ |
| H A D | options_test.cc | 51 void CustomArgs(benchmark::internal::Benchmark* b) { in CustomArgs()
|
| H A D | register_benchmark_test.cc | 60 typedef benchmark::internal::Benchmark* ReturnVal;
|
| /llvm-project-15.0.7/clang/utils/analyzer/ |
| H A D | SATest.py | 86 from SATestBenchmark import Benchmark 89 benchmark = Benchmark(projects, args.iterations, args.output)
|
| H A D | SATestBenchmark.py | 33 class Benchmark: class
|
| /llvm-project-15.0.7/third-party/benchmark/ |
| H A D | README.md | 1 # Benchmark chapter 111 Note that Google Benchmark requires Google Test to build and run the tests. This
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/ |
| H A D | identifier-length.rst | 82 value, specifically in tools such as Google Benchmark.
|