/external/toolchain-utils/ |
D | update_telemetry_defaults.py | 47 def ListCurrentDefaults(self, benchmark=all): argument 53 if benchmark == all: 60 elif benchmark in self._defaults: 61 results = self._defaults[benchmark] 62 out_str = benchmark + ' : ' 67 print("Error: Unrecognized benchmark '%s'" % benchmark) 69 def AddDefault(self, benchmark, result): argument 70 if benchmark in self._defaults: 71 resultList = self._defaults[benchmark] 75 self._defaults[benchmark] = resultList [all …]
|
/external/libcxx/benchmarks/ |
D | ContainerBenchmarks.hpp | 12 void BM_ConstructIterIter(benchmark::State& st, Container, GenInputs gen) { in BM_ConstructIterIter() 16 benchmark::DoNotOptimize(&in); in BM_ConstructIterIter() 19 benchmark::DoNotOptimize(c.data()); in BM_ConstructIterIter() 24 void BM_InsertValue(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValue() 30 benchmark::DoNotOptimize(&(*c.insert(*it).first)); in BM_InsertValue() 32 benchmark::ClobberMemory(); in BM_InsertValue() 37 void BM_InsertValueRehash(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertValueRehash() 44 benchmark::DoNotOptimize(&(*c.insert(*it).first)); in BM_InsertValueRehash() 46 benchmark::ClobberMemory(); in BM_InsertValueRehash() 52 void BM_InsertDuplicate(benchmark::State& st, Container c, GenInputs gen) { in BM_InsertDuplicate() [all …]
|
D | filesystem.bench.cpp | 13 void BM_PathConstructString(benchmark::State &st, GenInputs gen) { in BM_PathConstructString() 19 benchmark::DoNotOptimize(PP.native().data()); in BM_PathConstructString() 22 benchmark::DoNotOptimize(P.native().data()); in BM_PathConstructString() 30 void BM_PathConstructCStr(benchmark::State &st, GenInputs gen) { in BM_PathConstructCStr() 36 benchmark::DoNotOptimize(PP.native().data()); in BM_PathConstructCStr() 39 benchmark::DoNotOptimize(P.native().data()); in BM_PathConstructCStr() 47 void BM_PathConstructIter(benchmark::State &st, GenInputs gen) { in BM_PathConstructIter() 56 benchmark::DoNotOptimize(PP.native().data()); in BM_PathConstructIter() 57 benchmark::DoNotOptimize(Start); in BM_PathConstructIter() 58 benchmark::DoNotOptimize(End); in BM_PathConstructIter() [all …]
|
D | util_smartptr.bench.cpp | 14 static void BM_SharedPtrCreateDestroy(benchmark::State& st) { in BM_SharedPtrCreateDestroy() 17 benchmark::DoNotOptimize(sp.get()); in BM_SharedPtrCreateDestroy() 22 static void BM_SharedPtrIncDecRef(benchmark::State& st) { in BM_SharedPtrIncDecRef() 24 benchmark::DoNotOptimize(sp.get()); in BM_SharedPtrIncDecRef() 27 benchmark::ClobberMemory(); in BM_SharedPtrIncDecRef() 32 static void BM_WeakPtrIncDecRef(benchmark::State& st) { in BM_WeakPtrIncDecRef() 34 benchmark::DoNotOptimize(sp.get()); in BM_WeakPtrIncDecRef() 37 benchmark::ClobberMemory(); in BM_WeakPtrIncDecRef()
|
/external/google-benchmark/test/ |
D | basic_test.cc | 6 void BM_empty(benchmark::State& state) { in BM_empty() 8 benchmark::DoNotOptimize(state.iterations()); in BM_empty() 14 void BM_spin_empty(benchmark::State& state) { in BM_spin_empty() 17 benchmark::DoNotOptimize(x); in BM_spin_empty() 24 void BM_spin_pause_before(benchmark::State& state) { in BM_spin_pause_before() 26 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 30 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 37 void BM_spin_pause_during(benchmark::State& state) { in BM_spin_pause_during() 41 benchmark::DoNotOptimize(i); in BM_spin_pause_during() 45 benchmark::DoNotOptimize(i); in BM_spin_pause_during() [all …]
|
D | register_benchmark_test.cc | 11 class TestReporter : public benchmark::ConsoleReporter { 29 typedef benchmark::BenchmarkReporter::Run Run; 58 typedef benchmark::internal::Benchmark* ReturnVal; 63 void BM_function(benchmark::State& state) { in BM_function() 68 ReturnVal dummy = benchmark::RegisterBenchmark( 79 void BM_extra_args(benchmark::State& st, const char* label) { in BM_extra_args() 88 benchmark::RegisterBenchmark(c.first, &BM_extra_args, c.second); in RegisterFromFunction() 101 void operator()(benchmark::State& st) { in operator ()() 111 benchmark::RegisterBenchmark("custom_fixture", fx); in TestRegistrationAtRuntime() 118 auto capturing_lam = [=](benchmark::State& st) { in TestRegistrationAtRuntime() [all …]
|
D | donotoptimize_test.cc | 32 benchmark::DoNotOptimize(buffer8); in main() 35 benchmark::DoNotOptimize(buffer20); in main() 38 benchmark::DoNotOptimize(buffer1024); in main() 39 benchmark::DoNotOptimize(&buffer1024[0]); in main() 42 benchmark::DoNotOptimize(x); in main() 43 benchmark::DoNotOptimize(&x); in main() 44 benchmark::DoNotOptimize(x += 42); in main() 46 benchmark::DoNotOptimize(double_up(x)); in main() 49 benchmark::DoNotOptimize(BitRef::Make()); in main() 51 benchmark::DoNotOptimize(lval); in main()
|
D | reporter_output_test.cc | 22 void BM_basic(benchmark::State& state) { in BM_basic() 41 void BM_bytes_per_second(benchmark::State& state) { in BM_bytes_per_second() 63 void BM_items_per_second(benchmark::State& state) { in BM_items_per_second() 85 void BM_label(benchmark::State& state) { in BM_label() 107 void BM_error(benchmark::State& state) { in BM_error() 125 void BM_no_arg_name(benchmark::State& state) { in BM_no_arg_name() 138 void BM_arg_name(benchmark::State& state) { in BM_arg_name() 151 void BM_arg_names(benchmark::State& state) { in BM_arg_names() 165 void BM_Complexity_O1(benchmark::State& state) { in BM_Complexity_O1() 170 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1); [all …]
|
D | benchmark_test.cc | 54 static void BM_Factorial(benchmark::State& state) { in BM_Factorial() 65 static void BM_CalculatePiRange(benchmark::State& state) { in BM_CalculatePiRange() 74 static void BM_CalculatePi(benchmark::State& state) { in BM_CalculatePi() 77 benchmark::DoNotOptimize(CalculatePi(depth)); in BM_CalculatePi() 84 static void BM_SetInsert(benchmark::State& state) { in BM_SetInsert() 98 static void BM_Sequential(benchmark::State& state) { in BM_Sequential() 116 static void BM_StringCompare(benchmark::State& state) { in BM_StringCompare() 119 while (state.KeepRunning()) benchmark::DoNotOptimize(s1.compare(s2)); in BM_StringCompare() 123 static void BM_SetupTeardown(benchmark::State& state) { in BM_SetupTeardown() 143 static void BM_LongTest(benchmark::State& state) { in BM_LongTest() [all …]
|
/external/libcxx/utils/google-benchmark/test/ |
D | basic_test.cc | 6 void BM_empty(benchmark::State& state) { in BM_empty() 8 benchmark::DoNotOptimize(state.iterations()); in BM_empty() 14 void BM_spin_empty(benchmark::State& state) { in BM_spin_empty() 17 benchmark::DoNotOptimize(x); in BM_spin_empty() 24 void BM_spin_pause_before(benchmark::State& state) { in BM_spin_pause_before() 26 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 30 benchmark::DoNotOptimize(i); in BM_spin_pause_before() 37 void BM_spin_pause_during(benchmark::State& state) { in BM_spin_pause_during() 41 benchmark::DoNotOptimize(i); in BM_spin_pause_during() 45 benchmark::DoNotOptimize(i); in BM_spin_pause_during() [all …]
|
D | register_benchmark_test.cc | 11 class TestReporter : public benchmark::ConsoleReporter { 29 typedef benchmark::BenchmarkReporter::Run Run; 58 typedef benchmark::internal::Benchmark* ReturnVal; 63 void BM_function(benchmark::State& state) { in BM_function() 68 ReturnVal dummy = benchmark::RegisterBenchmark( 79 void BM_extra_args(benchmark::State& st, const char* label) { in BM_extra_args() 88 benchmark::RegisterBenchmark(c.first, &BM_extra_args, c.second); in RegisterFromFunction() 101 void operator()(benchmark::State& st) { in operator ()() 111 benchmark::RegisterBenchmark("custom_fixture", fx); in TestRegistrationAtRuntime() 118 auto capturing_lam = [=](benchmark::State& st) { in TestRegistrationAtRuntime() [all …]
|
D | reporter_output_test.cc | 22 void BM_basic(benchmark::State& state) { in BM_basic() 41 void BM_bytes_per_second(benchmark::State& state) { in BM_bytes_per_second() 63 void BM_items_per_second(benchmark::State& state) { in BM_items_per_second() 85 void BM_label(benchmark::State& state) { in BM_label() 107 void BM_error(benchmark::State& state) { in BM_error() 125 void BM_no_arg_name(benchmark::State& state) { in BM_no_arg_name() 138 void BM_arg_name(benchmark::State& state) { in BM_arg_name() 151 void BM_arg_names(benchmark::State& state) { in BM_arg_names() 165 void BM_Complexity_O1(benchmark::State& state) { in BM_Complexity_O1() 170 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1); [all …]
|
D | donotoptimize_test.cc | 16 benchmark::DoNotOptimize(buffer8); in main() 19 benchmark::DoNotOptimize(buffer20); in main() 22 benchmark::DoNotOptimize(buffer1024); in main() 23 benchmark::DoNotOptimize(&buffer1024[0]); in main() 26 benchmark::DoNotOptimize(x); in main() 27 benchmark::DoNotOptimize(&x); in main() 28 benchmark::DoNotOptimize(x += 42); in main() 30 benchmark::DoNotOptimize(double_up(x)); in main()
|
D | benchmark_test.cc | 54 static void BM_Factorial(benchmark::State& state) { in BM_Factorial() 65 static void BM_CalculatePiRange(benchmark::State& state) { in BM_CalculatePiRange() 74 static void BM_CalculatePi(benchmark::State& state) { in BM_CalculatePi() 77 benchmark::DoNotOptimize(CalculatePi(depth)); in BM_CalculatePi() 84 static void BM_SetInsert(benchmark::State& state) { in BM_SetInsert() 98 static void BM_Sequential(benchmark::State& state) { in BM_Sequential() 116 static void BM_StringCompare(benchmark::State& state) { in BM_StringCompare() 119 while (state.KeepRunning()) benchmark::DoNotOptimize(s1.compare(s2)); in BM_StringCompare() 123 static void BM_SetupTeardown(benchmark::State& state) { in BM_SetupTeardown() 143 static void BM_LongTest(benchmark::State& state) { in BM_LongTest() [all …]
|
/external/eigen/bench/ |
D | benchmark_suite | 4 $CXX -O3 -I .. -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark >/dev/null 6 $CXX -O3 -I .. benchmark.cpp -o benchmark && time ./benchmark >/dev/null 8 $CXX -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR -DNDEBUG benchmark.cpp -o benchmark && time ./benchmark… 10 $CXX -O3 -I .. -DEIGEN_DEFAULT_TO_ROW_MAJOR benchmark.cpp -o benchmark && time ./benchmark >/dev/nu…
|
/external/autotest/tko/ |
D | machine_benchmark.cgi | 27 benchmark = row[0] 28 testname = re.sub(r'\..*', '', benchmark) 29 all_benchmarks.append(benchmark) 33 for benchmark in all_benchmarks: 35 where_tests = { 'subdir': benchmark, 'status_word' : 'GOOD' } 42 available_params.add("%s - %s" % (benchmark, 86 for benchmark in benchmark_key: 88 where = { 'subdir': benchmark, 'status_word' : 'GOOD' } 94 benchmark_data[benchmark] = data 100 for benchmark in benchmark_key: [all …]
|
/external/libcxx/utils/google-benchmark/ |
D | README.md | 1 # benchmark chapter 2 …uild Status](https://travis-ci.org/google/benchmark.svg?branch=master)](https://travis-ci.org/goog… 3 …7t1tk7cpxs/branch/master?svg=true)](https://ci.appveyor.com/project/google/benchmark/branch/master) 4 …age Status](https://coveralls.io/repos/google/benchmark/badge.svg)](https://coveralls.io/r/google/… 8 Discussion group: https://groups.google.com/d/forum/benchmark-discuss 19 static void BM_StringCreation(benchmark::State& state) { 23 // Register the function as a benchmark 26 // Define another benchmark 27 static void BM_StringCopy(benchmark::State& state) { 44 static void BM_memcpy(benchmark::State& state) { [all …]
|
/external/toolchain-utils/crosperf/ |
D | benchmark_run.py | 33 def __init__(self, name, benchmark, label, iteration, cache_conditions, argument 39 self.benchmark = benchmark 53 self.test_args = benchmark.test_args 71 self.benchmark.test_name, self.iteration, self.test_args, 75 self.benchmark.suite, self.benchmark.show_all_results, 76 self.benchmark.run_local) 99 retval, self.benchmark.test_name, 100 self.benchmark.suite) 179 if self.benchmark.perf_args and self.benchmark.suite == 'telemetry': 181 self.benchmark.perf_args = '' [all …]
|
D | suite_runner.py | 60 def Run(self, machine, label, benchmark, test_args, profiler_args): argument 61 for i in range(0, benchmark.retries + 1): 63 if benchmark.suite == 'telemetry': 65 ret_tup = self.Telemetry_Run(machine, label, benchmark, profiler_args) 66 elif benchmark.suite == 'telemetry_Crosperf': 68 ret_tup = self.Telemetry_Crosperf_Run(machine, label, benchmark, 71 ret_tup = self.Test_That_Run(machine, label, benchmark, test_args, 75 (benchmark.name, benchmark.retries - i)) 78 (benchmark.name, i)) 82 benchmark.name) [all …]
|
D | results_organizer.py | 22 for benchmark in benchmarks: 23 if benchmark.name != bench or benchmark.iteration_adjusted: 25 benchmark.iteration_adjusted = True 26 benchmark.iterations *= (max_dup + 1) 122 name = run.benchmark.name 130 name = run.benchmark.name 162 benchmark = benchmark_run.benchmark 164 cur_label_list = result[benchmark.name][label_index] 167 show_all_results = json_report or benchmark.show_all_results 169 summary_list = summary_file.get(benchmark.test_name) [all …]
|
/external/libcxx/utils/google-benchmark/src/ |
D | CMakeLists.txt | 12 ${PROJECT_SOURCE_DIR}/include/benchmark/*.h 15 add_library(benchmark ${SOURCE_FILES}) target 16 set_target_properties(benchmark PROPERTIES 17 OUTPUT_NAME "benchmark" 23 target_link_libraries(benchmark ${BENCHMARK_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) 27 target_link_libraries(benchmark Shlwapi) 31 target_include_directories(benchmark PUBLIC ${PROJECT_SOURCE_DIR}/include) 35 TARGETS benchmark 42 DIRECTORY "${PROJECT_SOURCE_DIR}/include/benchmark"
|
/external/google-benchmark/ |
D | README.md | 1 # benchmark chapter 2 …uild Status](https://travis-ci.org/google/benchmark.svg?branch=master)](https://travis-ci.org/goog… 3 …7t1tk7cpxs/branch/master?svg=true)](https://ci.appveyor.com/project/google/benchmark/branch/master) 4 …age Status](https://coveralls.io/repos/google/benchmark/badge.svg)](https://coveralls.io/r/google/… 8 Discussion group: https://groups.google.com/d/forum/benchmark-discuss 21 static void BM_StringCreation(benchmark::State& state) { 25 // Register the function as a benchmark 28 // Define another benchmark 29 static void BM_StringCopy(benchmark::State& state) { 46 static void BM_memcpy(benchmark::State& state) { [all …]
|
/external/autotest/client/site_tests/telemetry_AFDOGenerateClient/ |
D | telemetry_AFDOGenerateClient.py | 77 for benchmark in PAGE_CYCLER_BENCHMARKS: 78 self._try_page_cycler(cr, benchmark) 80 def _try_page_cycler(self, cr, benchmark): argument 90 lambda: self._navigate_page_cycler(cr, benchmark)): 91 logging.info('Browser died while navigating %s', benchmark) 96 def _navigate_page_cycler(self, cr, benchmark): argument 110 logging.info('Navigating to page cycler %s', benchmark) 112 benchmark_start_page = PC_START_PAGE % benchmark 119 benchmark, end_time - start_time) 123 benchmark, end_time - start_time, str(unk_exc))
|
/external/toolchain-utils/user_activity_benchmarks/ |
D | collect_telemetry_profiles.sh | 58 while read benchmark 65 run_local=False test=$benchmark " $IP telemetry_Crosperf 67 echo "Failed to run the $benchmark telemetry benchmark with Autotest." 72 cp "$LATEST_PERF_PROFILE" "$RESULTS_PATH/${benchmark}.data" 75 "$PERF_DATA_RESULTS_PATH/${benchmark}.data for the $benchmark " \ 86 "the $benchmark telemetry benchmark."
|
/external/autotest/server/site_tests/telemetry_AFDOGenerate/ |
D | telemetry_AFDOGenerate.py | 109 benchmark = benchmark_info[0] 112 self._run_test_with_retry(benchmark, *args) 118 benchmark) 185 def _run_test(self, benchmark, *args): argument 195 logging.info('Starting run for Telemetry benchmark %s', benchmark) 198 benchmark, None, *args) 201 benchmark, end_time - start_time) 206 benchmark, end_time - start_time, str(e)) 214 logging.info('Benchmark %s succeeded', benchmark) 217 ' benchmark: %s' % benchmark) [all …]
|