/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
OkHttp.java | 35 @Override public void prepare(Benchmark benchmark) { 36 super.prepare(benchmark); 38 client.setProtocols(benchmark.protocols); 40 if (benchmark.tls) {
|
/external/skia/bench/ |
ReadPixBench.cpp | 8 #include "Benchmark.h" 18 class ReadPixBench : public Benchmark { 63 typedef Benchmark INHERITED; 71 class PixmapOrientBench : public Benchmark { 105 typedef Benchmark INHERITED;
|
SkGlyphCacheBench.cpp | 11 #include "Benchmark.h" 39 class SkGlyphCacheBasic : public Benchmark { 68 typedef Benchmark INHERITED; 73 class SkGlyphCacheStressTest : public Benchmark { 107 typedef Benchmark INHERITED;
|
/external/skqp/bench/ |
ReadPixBench.cpp | 8 #include "Benchmark.h" 18 class ReadPixBench : public Benchmark { 63 typedef Benchmark INHERITED; 71 class PixmapOrientBench : public Benchmark { 105 typedef Benchmark INHERITED;
|
SkGlyphCacheBench.cpp | 11 #include "Benchmark.h" 39 class SkGlyphCacheBasic : public Benchmark { 68 typedef Benchmark INHERITED; 73 class SkGlyphCacheStressTest : public Benchmark { 107 typedef Benchmark INHERITED;
|
/external/tensorflow/tensorflow/core/common_runtime/ |
kernel_benchmark_testlib.h | 36 class Benchmark { 40 Benchmark(const string& device, Graph* g, 43 ~Benchmark(); 51 // the graph. In the benchmark, we throw away values returned by the 62 TF_DISALLOW_COPY_AND_ASSIGN(Benchmark);
|
/external/wayland/tests/ |
fixed-benchmark.c | 81 benchmark(const char *s, void (*f)(void)) function 101 benchmark("noop", noop_conversion); 102 benchmark("magic", magic_conversion); 103 benchmark("div", div_conversion); 104 benchmark("mul", mul_conversion);
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
BenchmarkRunner.java | 33 private static final int NOT_STARTED = 0; // The benchmark has not started yet. 34 private static final int RUNNING = 1; // The benchmark is running. 35 private static final int PAUSED = 2; // The benchmark is paused 36 private static final int FINISHED = 3; // The benchmark has stopped. 39 private int mState = NOT_STARTED; // Current benchmark state.
|
/frameworks/base/cmds/statsd/benchmark/ |
log_event_benchmark.cpp | 17 #include "benchmark/benchmark.h" 63 static void BM_LogEventCreation(benchmark::State& state) { 67 benchmark::DoNotOptimize(LogEvent(msg)); 70 BENCHMARK(BM_LogEventCreation);
|
/prebuilts/go/darwin-x86/src/testing/ |
benchmark_test.go | 67 testing.Benchmark(func(b *testing.B) { 87 testing.Benchmark(func(b *testing.B) { 90 // w/o crashing/deadlocking the whole benchmark. 98 // Parallel benchmark for text/template.Template.Execute on a single object. 99 testing.Benchmark(func(b *testing.B) {
|
/prebuilts/go/linux-x86/src/testing/ |
benchmark_test.go | 67 testing.Benchmark(func(b *testing.B) { 87 testing.Benchmark(func(b *testing.B) { 90 // w/o crashing/deadlocking the whole benchmark. 98 // Parallel benchmark for text/template.Template.Execute on a single object. 99 testing.Benchmark(func(b *testing.B) {
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
complexity.h | 16 // Adapted to be used with google benchmark 24 #include "benchmark/benchmark_api.h" 25 #include "benchmark/reporter.h" 27 namespace benchmark { namespace 60 } // end namespace benchmark
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/test/ |
complexity_test.cc | 7 #include "benchmark/benchmark.h" 48 void BM_Complexity_O1(benchmark::State& state) { 51 benchmark::DoNotOptimize(&i); 56 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(benchmark::o1); 57 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity(); 58 BENCHMARK(BM_Complexity_O1)->Range(1, 1 << 18)->Complexity([](int) { 67 // See https://github.com/google/benchmark/issues/272 93 void BM_Complexity_O_N(benchmark::State& state) [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/tools/ |
compare_bench.py | 25 print("WARNING: passing --benchmark flags has no effect since both " 38 help='A benchmark executable or JSON output file') 41 help='A benchmark executable or JSON output file') 43 # any --benchmark flags but it helps generate a better usage message 46 help='Arguments to pass when running benchmark executables'
|
/external/autotest/tko/ |
machine_aggr.cgi | 22 # input is a list of benchmark:key values -- benchmark1:key1,... 27 (benchmark, key) = benchmark_key_pair.split(':') 28 benchmark_idx.append(benchmark) 30 elif form.has_key("benchmark") and form.has_key("key"): 31 benchmarks = form["benchmark"].value 60 for benchmark, key in zip(benchmark_idx, key_idx): 63 where = { 'subdir' : benchmark, 'machine_idx' : machine.idx , 'status' : 6} 85 #get the base value for each benchmark 87 for test in frontend.test.select(db, { 'subdir' : benchmark, 'machine_idx' : machine.idx, 'kernel_idx' : kernel_base.idx}): 102 if benchmark == "kernbench" [all...] |
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
ManualBenchmarkState.java | 28 * Provides a benchmark framework. 67 private static final int NOT_STARTED = 0; // The benchmark has not started yet. 68 private static final int WARMUP = 1; // The benchmark is warming up. 69 private static final int RUNNING = 2; // The benchmark is running. 70 private static final int FINISHED = 3; // The benchmark has stopped. 72 private int mState = NOT_STARTED; // Current benchmark state. 82 // Statistics. These values will be filled when the benchmark has finished. 94 * Judges whether the benchmark needs more samples. 126 throw new IllegalStateException("The benchmark has finished."); 128 throw new IllegalStateException("The benchmark is in an unknown state.") [all...] |
/system/netd/tests/benchmarks/ |
dns_benchmark.cpp | 25 * The benchmark fixture runs in 3 different modes: 68 #include <benchmark/benchmark.h> 82 class DnsFixture : public ::benchmark::Fixture { 90 void SetUp(const ::benchmark::State& state) override { 105 void TearDown(const ::benchmark::State& state) override { 120 void getaddrinfo_until_done(benchmark::State &state) { 137 void benchmark_at_reporting_level(benchmark::State &state, int metricsLevel) { 173 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_nothing)(benchmark::State& state) { 181 BENCHMARK_DEFINE_F(DnsFixture, getaddrinfo_log_metrics)(benchmark::State& state) [all...] |
/external/brotli/ |
README.md | 70 * [Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/) / [Unstable Squash Compression Benchmark](https://quixdb.github.io/squash-benchmark/unstable/) 71 * [Large Text Compression Benchmark](http://mattmahoney.net/dc/text.html) 72 * [Lzturbo Benchmark](https://sites.google.com/site/powturbo/home/benchmark)
|
/external/lz4/programs/ |
README.md | 16 #### Benchmark in Command Line Interface 17 CLI includes in-memory compression benchmark module for lz4. 18 The benchmark is conducted using a given filename. 20 It makes benchmark more precise as it eliminates I/O overhead. 22 The benchmark measures ratio, compressed size, compression and decompression speed. 59 Benchmark arguments : 60 -b# : benchmark file(s), using # compression level (default : 1)
|
/external/tensorflow/tensorflow/compiler/aot/ |
benchmark.h | 16 // Contains benchmark functions used with the code-generated benchmarks that can 35 namespace benchmark { namespace in namespace:tensorflow::tfcompile 39 // kDefaultMicros specifies the default time to run the benchmark, and is used 62 // Benchmark runs a benchmark of the function `fn`, collecting stats in `stats`. 64 void Benchmark(const Options& options, const BenchmarkFn& fn, Stats* stats); 66 } // namespace benchmark
|
/external/tensorflow/tensorflow/core/kernels/ |
requantization_range_op_test.cc | 90 BENCHMARK(BM_RequantizationRange100); 95 BENCHMARK(BM_RequantizationRange1000); 100 BENCHMARK(BM_RequantizationRange10000); 105 BENCHMARK(BM_RequantizationRange100000); 110 BENCHMARK(BM_RequantizationRange1000000); 115 BENCHMARK(BM_RequantizationRange10000000); 120 BENCHMARK(BM_RequantizationRange100000000);
|
/external/toolchain-utils/crosperf/ |
experiment_file_unittest.py | 16 benchmark: PageCycler { 35 benchmark: PageCycler { 38 benchmark: AndroidBench { 56 benchmark: PageCycler { 72 benchmark: PageCycler { 97 benchmark_settings = experiment_file.GetSettings('benchmark') 116 benchmark_settings = experiment_file.GetSettings('benchmark')
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
FullScreenOverdrawActivity.java | 17 package com.android.benchmark.ui; 31 import com.android.benchmark.R; 32 import com.android.benchmark.registry.BenchmarkRegistry; 33 import com.android.benchmark.ui.automation.Automator; 34 import com.android.benchmark.ui.automation.Interaction; 81 final int runId = getIntent().getIntExtra("com.android.benchmark.RUN_ID", 0); 82 final int iteration = getIntent().getIntExtra("com.android.benchmark.ITERATION", -1);
|
/frameworks/ml/nn/runtime/test/benchmark/src/com/example/android/nn/benchmark/ |
NNTest.java | 17 package com.example.android.nn.benchmark; 26 import com.example.android.nn.benchmark.NNTestList.TestName; 29 * NNAPI benchmark test. 32 * adb shell am instrument -w com.example.android.nn.benchmark/android.support.test.runner.AndroidJUnitRunner 72 "Benchmark for test \"" + mTestName.toString() + "\" is: " + mResult); 82 // Set the benchmark thread to run on ui thread 83 // Synchronized the thread such that the test will wait for the benchmark thread to finish
|
/system/core/debuggerd/ |
debuggerd_benchmark.cpp | 27 #include <benchmark/benchmark.h> 96 static void BM_maximum_pause_impl(benchmark::State& state, const Fn& function) { 117 static void BM_maximum_pause_noop(benchmark::State& state) { 121 static void BM_maximum_pause_debuggerd(benchmark::State& state) { 125 BENCHMARK(BM_maximum_pause_noop)->Iterations(128)->UseManualTime(); 126 BENCHMARK(BM_maximum_pause_debuggerd)->Iterations(128)->UseManualTime();
|