/platform_testing/docs/development/ |
metrics.md | 6 [google-benchmark](https://github.com/google/benchmark) framework. 12 google-benchmark dependencies are included automatically
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/include/benchmark/ |
reporter.h | 26 namespace benchmark { namespace 28 // Interface for custom benchmark result printers. 29 // By default, benchmark reports are printed to stdout. However an application 40 // The number of chars in the longest benchmark name. 62 std::string report_label; // Empty if not set by benchmark. 83 // Zero if not set by benchmark. 109 // platform under which the benchmarks are running. The benchmark run is 114 // Called once for each group of benchmark runs, gives information about 115 // cpu-time and heap memory usage during the benchmark run. If the group 120 // complexity and RMS of that benchmark family [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/utils/google-benchmark/src/ |
arraysize.h | 6 namespace benchmark { namespace 28 #define arraysize(array) (sizeof(::benchmark::internal::ArraySizeHelper(array))) 31 } // end namespace benchmark
|
/prebuilts/go/darwin-x86/src/testing/ |
benchmark.go | 19 var benchTime = flag.Duration("test.benchtime", 1*time.Second, "run each benchmark for duration `d`") 22 // Global lock to ensure only one benchmark runs at a time. 25 // Used for every benchmark for measuring memory. 35 // B is a type passed to Benchmark functions to manage benchmark 38 // A benchmark ends when its Benchmark function returns or calls any of the methods 40 // only from the goroutine running the Benchmark function. 44 // Like in tests, benchmark logs are accumulated during execution 45 // and dumped to standard error when done. Unlike in tests, benchmark log [all...] |
/prebuilts/go/linux-x86/src/testing/ |
benchmark.go | 19 var benchTime = flag.Duration("test.benchtime", 1*time.Second, "run each benchmark for duration `d`") 22 // Global lock to ensure only one benchmark runs at a time. 25 // Used for every benchmark for measuring memory. 35 // B is a type passed to Benchmark functions to manage benchmark 38 // A benchmark ends when its Benchmark function returns or calls any of the methods 40 // only from the goroutine running the Benchmark function. 44 // Like in tests, benchmark logs are accumulated during execution 45 // and dumped to standard error when done. Unlike in tests, benchmark log [all...] |
/external/toolchain-utils/crosperf/ |
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) 111 # the benchmark names. The value for a key is a list containing the names 132 # Count how many iterations exist for each benchmark run. 137 name = run.benchmark.name 145 name = run.benchmark.name 178 benchmark = benchmark_run.benchmar [all...] |
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
GoogleBenchmarkTest.java | 36 * A Test that runs a Google benchmark test package on given device. 51 @Option(name = "native-benchmark-device-path", 55 @Option(name = "benchmark-module-name", 56 description="The name of the native benchmark test module to run. " + 57 "If not specified all tests in --native-benchmark-device-path will be run.") 60 @Option(name = "benchmark-run-name", 66 "The maximum time to allow for each benchmark run in ms.", isTimeVal=true) 88 * Set the Android native benchmark test module to run. 97 * Get the Android native benchmark test module to run. 121 * Gets the path where native benchmark tests live on the device [all...] |
/build/soong/cc/ |
test.go | 312 func (benchmark *benchmarkDecorator) linkerInit(ctx BaseModuleContext) { 317 benchmark.baseLinker.dynamicProperties.RunPaths = append(benchmark.baseLinker.dynamicProperties.RunPaths, runpath) 318 benchmark.binaryDecorator.linkerInit(ctx) 321 func (benchmark *benchmarkDecorator) linkerProps() []interface{} { 322 props := benchmark.binaryDecorator.linkerProps() 323 props = append(props, &benchmark.Properties) 327 func (benchmark *benchmarkDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps { 328 android.ExtractSourcesDeps(ctx, benchmark.Properties.Data) 329 deps = benchmark.binaryDecorator.linkerDeps(ctx, deps [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ExperimentModule.java | 19 import static com.google.caliper.runner.Running.Benchmark; 64 @Benchmark 82 @Benchmark 87 private static Method findBenchmarkMethod(Class<?> benchmark, String methodName, 91 return benchmark.getDeclaredMethod(methodName, params);
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
ArbitraryMeasurementWorker.java | 22 import com.google.caliper.runner.Running.Benchmark; 41 @Benchmark Object benchmark, 44 super(benchmark, method); 58 double measured = (Double) benchmarkMethod.invoke(benchmark);
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
BenchmarkCreatorTest.java | 52 PublicDefaultConstructorWithParamBenchmark benchmark = local 54 assertEquals(1, benchmark.byteField); 55 assertEquals(2, benchmark.intField); 56 assertEquals("string", benchmark.stringField); 77 assertEquals("Benchmark class "
|
/external/caliper/examples/src/main/java/examples/ |
DoubleToStringBenchmark2.java | 19 import com.google.caliper.Benchmark; 43 @Benchmark int toString(int reps) { 59 @Benchmark int stringValueOf(int reps) { 75 @Benchmark int stringFormat(int reps) { 91 @Benchmark int quoteTrick(int reps) {
|
/external/google-benchmark/src/ |
check.h | 11 namespace benchmark { namespace 52 } // end namespace benchmark 58 (b ? ::benchmark::internal::GetNullLogInstance() \ 59 : ::benchmark::internal::CheckHandler(#b, __FILE__, __func__, __LINE__) \ 62 #define CHECK(b) ::benchmark::internal::GetNullLogInstance()
|
reporter.cc | 15 #include "benchmark/benchmark.h" 26 namespace benchmark { namespace 56 Out << "***WARNING*** CPU scaling is enabled, the benchmark " 81 } // end namespace benchmark
|
/external/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...] |
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
ComparatorDelegationOverheadBenchmark.java | 18 import com.google.caliper.Benchmark; 26 * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with 50 @Benchmark int arraysSortNoComparator(int reps) { 60 @Benchmark int arraysSortOrderingNatural(int reps) { 77 @Benchmark int arraysSortOrderingFromNatural(int reps) {
|
MultisetIteratorBenchmark.java | 20 import com.google.caliper.Benchmark; 60 //TODO(kevinb): convert to assert once benchmark tests enable asserts by default 64 @Benchmark int hashMultiset(int reps) { 74 @Benchmark int linkedHashMultiset(int reps) { 84 @Benchmark int treeMultiset(int reps) {
|
/external/guava/guava-tests/benchmark/com/google/common/math/ |
BigIntegerMathRoundingBenchmark.java | 25 import com.google.caliper.Benchmark; 54 @Benchmark int log2(int reps) { 63 @Benchmark int log10(int reps) { 72 @Benchmark int sqrt(int reps) { 81 @Benchmark int divide(int reps) {
|
DoubleMathBenchmark.java | 26 import com.google.caliper.Benchmark; 47 @Benchmark long log2(int reps) { 56 @Benchmark long factorial(int reps) { 65 @Benchmark int isMathematicalInteger(int reps) { 76 @Benchmark int isPowerOfTwo(int reps) {
|
DoubleMathRoundingBenchmark.java | 25 import com.google.caliper.Benchmark; 53 @Benchmark int roundToInt(int reps) { 62 @Benchmark long roundToLong(int reps) { 71 @Benchmark int roundToBigInteger(int reps) { 80 @Benchmark int log2Round(int reps) {
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
CycleDetectingLockFactoryBenchmark.java | 20 import com.google.caliper.Benchmark; 53 @Benchmark void unorderedPlainLocks(int reps) { 57 @Benchmark void unorderedCycleDetectingLocks(int reps) { 68 @Benchmark void orderedPlainLocks(int reps) { 72 @Benchmark void orderedCycleDetectingLocks(int reps) {
|
/external/libcxx/utils/google-benchmark/src/ |
check.h | 11 namespace benchmark { namespace 52 } // end namespace benchmark 58 (b ? ::benchmark::internal::GetNullLogInstance() \ 59 : ::benchmark::internal::CheckHandler(#b, __FILE__, __func__, __LINE__) \ 62 #define CHECK(b) ::benchmark::internal::GetNullLogInstance()
|
reporter.cc | 15 #include "benchmark/benchmark.h" 26 namespace benchmark { namespace 56 Out << "***WARNING*** CPU scaling is enabled, the benchmark " 81 } // end namespace benchmark
|
/external/libcxx/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...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
ApacheHttpClient.java | 35 /** Benchmark Apache HTTP client. */ 41 @Override public void prepare(Benchmark benchmark) { 42 super.prepare(benchmark); 44 if (benchmark.tls) {
|