/external/libcxx/utils/google-benchmark/test/ |
cxx03_test.cc | 5 #include "benchmark/benchmark.h" 11 void BM_empty(benchmark::State& state) { 17 BENCHMARK(BM_empty); 21 void BM_old_arg_range_interface(benchmark::State& state) { 27 BENCHMARK(BM_old_arg_range_interface)->ArgPair(1, 2)->RangePair(5, 5, 6, 6); 30 void BM_template2(benchmark::State& state) { 36 void BM_template1(benchmark::State& state) {
|
filter_test.cc | 1 #include "benchmark/benchmark.h" 15 class TestReporter : public benchmark::ConsoleReporter { 38 static void NoPrefix(benchmark::State& state) { 42 BENCHMARK(NoPrefix); 44 static void BM_Foo(benchmark::State& state) { 48 BENCHMARK(BM_Foo); 50 static void BM_Bar(benchmark::State& state) { 54 BENCHMARK(BM_Bar); 56 static void BM_FooBar(benchmark::State& state) [all...] |
multiple_ranges_test.cc | 1 #include "benchmark/benchmark.h" 6 class MultipleRangesFixture : public ::benchmark::Fixture { 29 void SetUp(const ::benchmark::State& state) { 45 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { 49 benchmark::DoNotOptimize(x); 59 void BM_CheckDefaultArgument(benchmark::State& state) { 66 BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}}); 68 static void BM_MultipleRanges(benchmark::State& st) { 72 BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}}) [all...] |
options_test.cc | 1 #include "benchmark/benchmark_api.h" 6 void BM_basic(benchmark::State& state) { 11 void BM_basic_slow(benchmark::State& state) { 19 BENCHMARK(BM_basic); 20 BENCHMARK(BM_basic)->Arg(42); 21 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond); 22 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond); 23 BENCHMARK(BM_basic_slow)->Arg(1000)->Unit(benchmark::kMillisecond) [all...] |
reporter_output_test.cc | 5 #include "benchmark/benchmark.h" 12 ADD_CASES(TC_ConsoleOut, {{"^Benchmark %s Time %s CPU %s Iterations$", MR_Next}, 22 void BM_basic(benchmark::State& state) { 26 BENCHMARK(BM_basic); 41 void BM_bytes_per_second(benchmark::State& state) { 46 BENCHMARK(BM_bytes_per_second); 63 void BM_items_per_second(benchmark::State& state) { 68 BENCHMARK(BM_items_per_second); 85 void BM_label(benchmark::State& state) [all...] |
fixture_test.cc | 2 #include "benchmark/benchmark.h" 7 class MyFixture : public ::benchmark::Fixture { 9 void SetUp(const ::benchmark::State& state) { 16 void TearDown(const ::benchmark::State& state) { 28 BENCHMARK_F(MyFixture, Foo)(benchmark::State &st) { 35 BENCHMARK_DEFINE_F(MyFixture, Bar)(benchmark::State& st) {
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
HttpClient.java | 20 /** An HTTP client to benchmark. */ 22 void prepare(Benchmark benchmark);
|
/frameworks/base/libs/androidfw/tests/ |
BenchmarkHelpers.h | 23 #include "benchmark/benchmark.h" 30 uint32_t resid, benchmark::State& state);
|
AssetManager2_bench.cpp | 17 #include "benchmark/benchmark.h" 39 static void BM_AssetManagerLoadAssets(benchmark::State& state) { 47 BENCHMARK(BM_AssetManagerLoadAssets); 49 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { 60 BENCHMARK(BM_AssetManagerLoadAssetsOld); 62 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { 70 BENCHMARK(BM_AssetManagerLoadFrameworkAssets); 72 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) { 83 BENCHMARK(BM_AssetManagerLoadFrameworkAssetsOld) [all...] |
/frameworks/minikin/tests/perftests/ |
main.cpp | 16 #include <benchmark/benchmark.h> 41 benchmark::Initialize(&argc, argv); 42 benchmark::RunSpecifiedBenchmarks();
|
GraphemeBreak.cpp | 16 #include <benchmark/benchmark.h> 34 static void BM_GraphemeBreak_Ascii(benchmark::State& state) { 44 BENCHMARK(BM_GraphemeBreak_Ascii) 49 static void BM_GraphemeBreak_Emoji(benchmark::State& state) { 59 BENCHMARK(BM_GraphemeBreak_Emoji) 64 static void BM_GraphemeBreak_Emoji_Flags(benchmark::State& state) { 74 BENCHMARK(BM_GraphemeBreak_Emoji_Flags)
|
/external/autotest/server/site_tests/telemetry_Benchmarks/ |
telemetry_Benchmarks.py | 10 """Run a telemetry benchmark.""" 14 def run_once(self, host=None, benchmark=None, args={}): 15 """Run a telemetry benchmark. 17 @param host: hostname(ip address) to run the telemetry benchmark on. 18 @param benchmark: telemetry benchmark test to run. 26 telemetry.run_telemetry_benchmark(benchmark, perf_value_writer=self)
|
/external/chromium-trace/catapult/telemetry/examples/benchmarks/ |
tbm_benchmark.py | 4 from telemetry import benchmark 9 class TBMSample(benchmark.Benchmark):
|
/external/google-benchmark/test/ |
filter_test.cc | 1 #include "benchmark/benchmark.h" 15 class TestReporter : public benchmark::ConsoleReporter { 38 static void NoPrefix(benchmark::State& state) { 42 BENCHMARK(NoPrefix); 44 static void BM_Foo(benchmark::State& state) { 48 BENCHMARK(BM_Foo); 50 static void BM_Bar(benchmark::State& state) { 54 BENCHMARK(BM_Bar); 56 static void BM_FooBar(benchmark::State& state) [all...] |
multiple_ranges_test.cc | 1 #include "benchmark/benchmark.h" 6 class MultipleRangesFixture : public ::benchmark::Fixture { 29 void SetUp(const ::benchmark::State& state) { 45 BENCHMARK_DEFINE_F(MultipleRangesFixture, Empty)(benchmark::State& state) { 49 benchmark::DoNotOptimize(x); 59 void BM_CheckDefaultArgument(benchmark::State& state) { 66 BENCHMARK(BM_CheckDefaultArgument)->Ranges({{1, 5}, {6, 10}}); 68 static void BM_MultipleRanges(benchmark::State& st) { 72 BENCHMARK(BM_MultipleRanges)->Ranges({{5, 5}, {6, 6}}) [all...] |
options_test.cc | 1 #include "benchmark/benchmark_api.h" 6 void BM_basic(benchmark::State& state) { 11 void BM_basic_slow(benchmark::State& state) { 19 BENCHMARK(BM_basic); 20 BENCHMARK(BM_basic)->Arg(42); 21 BENCHMARK(BM_basic_slow)->Arg(10)->Unit(benchmark::kNanosecond); 22 BENCHMARK(BM_basic_slow)->Arg(100)->Unit(benchmark::kMicrosecond); 23 BENCHMARK(BM_basic_slow)->Arg(1000)->Unit(benchmark::kMillisecond) [all...] |
reporter_output_test.cc | 5 #include "benchmark/benchmark.h" 12 ADD_CASES(TC_ConsoleOut, {{"^Benchmark %s Time %s CPU %s Iterations$", MR_Next}, 22 void BM_basic(benchmark::State& state) { 26 BENCHMARK(BM_basic); 41 void BM_bytes_per_second(benchmark::State& state) { 46 BENCHMARK(BM_bytes_per_second); 63 void BM_items_per_second(benchmark::State& state) { 68 BENCHMARK(BM_items_per_second); 85 void BM_label(benchmark::State& state) [all...] |
fixture_test.cc | 2 #include "benchmark/benchmark.h" 7 class MyFixture : public ::benchmark::Fixture { 9 void SetUp(const ::benchmark::State& state) { 16 void TearDown(const ::benchmark::State& state) { 28 BENCHMARK_F(MyFixture, Foo)(benchmark::State &st) { 35 BENCHMARK_DEFINE_F(MyFixture, Bar)(benchmark::State& st) {
|
/frameworks/base/libs/hwui/tests/microbench/ |
ShadowBench.cpp | 17 #include <benchmark/benchmark.h> 80 void BM_TessellateShadows_roundrect_opaque(benchmark::State& state) { 90 benchmark::DoNotOptimize(&ambient); 91 benchmark::DoNotOptimize(&spot); 94 BENCHMARK(BM_TessellateShadows_roundrect_opaque); 96 void BM_TessellateShadows_roundrect_translucent(benchmark::State& state) { 107 benchmark::DoNotOptimize(ambient.get()); 108 benchmark::DoNotOptimize(spot.get()); 111 BENCHMARK(BM_TessellateShadows_roundrect_translucent) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
Worker.java | 40 protected final Object benchmark; field in class:Worker 42 protected Worker(Object benchmark, Method method) { 43 this.benchmark = benchmark; 47 /** Initializes the benchmark object. */ 50 method.invoke(benchmark); 54 /** Called once before all measurements but after benchmark setup. */ 71 /** Tears down the benchmark object. */ 74 method.invoke(benchmark);
|
/external/autotest/client/site_tests/telemetry_AFDOGenerateClient/ |
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): 87 @param benchmark: page_cycler page to display. 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): 103 @param benchmark: page_cycler page to display. 110 logging.info('Navigating to page cycler %s', benchmark) 112 benchmark_start_page = PC_START_PAGE % benchmark [all...] |
/bionic/benchmarks/ |
math_benchmark.cpp | 20 #include <benchmark/benchmark.h> 25 #define BENCHMARK_COMMON_VALS(name) BENCHMARK(name)->Arg(0)->Arg(1)->Arg(2)->Arg(3) 27 static void SetLabel(benchmark::State& state) { 35 static void BM_math_sqrt(benchmark::State& state) { 42 BENCHMARK(BM_math_sqrt); 44 static void BM_math_log10(benchmark::State& state) { 51 BENCHMARK(BM_math_log10); 53 static void BM_math_logb(benchmark::State& state) { 60 BENCHMARK(BM_math_logb) [all...] |
semaphore_benchmark.cpp | 23 #include <benchmark/benchmark.h> 25 static void BM_semaphore_sem_getvalue(benchmark::State& state) { 34 BENCHMARK(BM_semaphore_sem_getvalue); 36 static void BM_semaphore_sem_wait_sem_post(benchmark::State& state) { 45 BENCHMARK(BM_semaphore_sem_wait_sem_post); 61 // with the benchmark clock running. This ensures nothing else in the system 80 class SemaphoreFixture : public benchmark::Fixture { 82 void SetUp(const benchmark::State&) { 122 BENCHMARK_F(SemaphoreFixture, semaphore_sem_post)(benchmark::State& state) [all...] |
/external/autotest/client/site_tests/platform_LibCBench/ |
platform_LibCBench.py | 50 # Output for each benchmark looks like the following: 63 for benchmark in results: 64 average = sum(results[benchmark]) / len(results[benchmark]) 65 minimum = min(results[benchmark]) 66 maximum = max(results[benchmark]) 72 (benchmark, minimum, maximum, difference, average, 75 key_string = re.sub('[^\w]', '_', benchmark)
|
/cts/suite/cts/utils/ |
grapher.py | 24 A simple script to render the data from the benchmark as a graph. 44 for benchmark in tests: 45 if benchmark.startswith('com.android.cts.opengl.primitive'): 46 results = tests[benchmark] 51 plt.title(benchmark[benchmark.index('#') + 1:])
|