HomeSort by relevance Sort by last modified time
    Searched refs:benchmark (Results 76 - 100 of 400) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium-trace/catapult/telemetry/telemetry/
benchmark_run_unittest.py 7 from telemetry import benchmark as benchmark_module
25 # More end-to-end tests of Benchmark, shared_page_state and associated
38 class FakeBenchmark(benchmark_module.Benchmark):
88 benchmark = benchmarkclass()
89 return benchmark, finder_options
92 benchmark, finder_options = self.setupBenchmark()
94 page = FakePage(benchmark.GetFakeStorySet())
97 benchmark.validator.ValidateAndMeasurePage = (
99 benchmark.AddFakePage(page)
100 self.assertEqual(benchmark.Run(finder_options), 0
    [all...]
  /frameworks/base/libs/hwui/tests/microbench/
FontBench.cpp 17 #include <benchmark/benchmark.h>
27 void BM_FontRenderer_precache_cachehits(benchmark::State& state) {
50 BENCHMARK(BM_FontRenderer_precache_cachehits);
FrameBuilderBench.cpp 17 #include <benchmark/benchmark.h>
61 void BM_FrameBuilder_defer(benchmark::State& state) {
68 benchmark::DoNotOptimize(&frameBuilder);
72 BENCHMARK(BM_FrameBuilder_defer);
74 void BM_FrameBuilder_deferAndRender(benchmark::State& state) {
88 benchmark::DoNotOptimize(&renderer);
92 BENCHMARK(BM_FrameBuilder_deferAndRender);
114 void BM_FrameBuilder_defer_scene(benchmark::State& state) {
124 benchmark::DoNotOptimize(&frameBuilder)
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
MicrobenchmarkAllocationWorker.java 20 import com.google.caliper.runner.Running.Benchmark;
31 * The {@link Worker} for the {@code AllocationInstrument}. This class invokes the benchmark method
57 @Inject MicrobenchmarkAllocationWorker(@Benchmark Object benchmark,
59 super(benchmark, method);
68 // warm up the loop in the benchmark method.
69 measureAllocations(benchmark, benchmarkMethod, WARMUP_REPS);
71 // verify that the benchmark is deterministic in terms of the measured allocations.
76 * Verify the determinism of the benchmark method.
81 * settle on a single path for invoking the benchmark method and so cause identical allocation
    [all...]
MacrobenchmarkWorker.java 26 import com.google.caliper.runner.Running.Benchmark;
47 @Inject MacrobenchmarkWorker(@Benchmark Object benchmark, @BenchmarkMethod Method method,
49 super(benchmark, method);
52 getAnnotatedMethods(benchmark.getClass(), BeforeRep.class);
54 getAnnotatedMethods(benchmark.getClass(), AfterRep.class);
60 beforeRepMethod.invoke(benchmark);
69 benchmarkMethod.invoke(benchmark);
81 afterRepMethod.invoke(benchmark);
  /external/google-benchmark/src/
benchmark_api_internal.h 4 #include "benchmark/benchmark_api.h"
12 namespace benchmark { namespace
15 // Information kept per benchmark we may want to run
16 struct Benchmark::Instance {
18 Benchmark* benchmark; member in struct:benchmark::internal::Benchmark::Instance
34 std::vector<Benchmark::Instance>* benchmarks,
45 } // end namespace benchmark
check.h 10 namespace benchmark { namespace
51 } // end namespace benchmark
57 (b ? ::benchmark::internal::GetNullLogInstance() \
58 : ::benchmark::internal::CheckHandler(#b, __FILE__, __func__, __LINE__) \
61 #define CHECK(b) ::benchmark::internal::GetNullLogInstance()
sleep.h 6 namespace benchmark { namespace
15 } // end namespace benchmark
  /external/libcxx/utils/google-benchmark/src/
benchmark_api_internal.h 4 #include "benchmark/benchmark_api.h"
12 namespace benchmark { namespace
15 // Information kept per benchmark we may want to run
16 struct Benchmark::Instance {
18 Benchmark* benchmark; member in struct:benchmark::internal::Benchmark::Instance
34 std::vector<Benchmark::Instance>* benchmarks,
45 } // end namespace benchmark
check.h 10 namespace benchmark { namespace
51 } // end namespace benchmark
57 (b ? ::benchmark::internal::GetNullLogInstance() \
58 : ::benchmark::internal::CheckHandler(#b, __FILE__, __func__, __LINE__) \
61 #define CHECK(b) ::benchmark::internal::GetNullLogInstance()
sleep.h 6 namespace benchmark { namespace
15 } // end namespace benchmark
  /external/google-benchmark/test/
benchmark_test.cc 1 #include "benchmark/benchmark.h"
54 static void BM_Factorial(benchmark::State& state) {
62 BENCHMARK(BM_Factorial);
63 BENCHMARK(BM_Factorial)->UseRealTime();
65 static void BM_CalculatePiRange(benchmark::State& state) {
74 static void BM_CalculatePi(benchmark::State& state) {
77 benchmark::DoNotOptimize(CalculatePi(depth));
80 BENCHMARK(BM_CalculatePi)->Threads(8);
81 BENCHMARK(BM_CalculatePi)->ThreadRange(1, 32)
    [all...]
skip_with_error_test.cc 7 #include "benchmark/benchmark.h"
11 class TestReporter : public benchmark::ConsoleReporter {
33 typedef benchmark::BenchmarkReporter::Run Run;
64 void BM_error_before_running(benchmark::State& state) {
70 BENCHMARK(BM_error_before_running);
73 void BM_error_during_running(benchmark::State& state) {
86 BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8);
96 void BM_error_after_running(benchmark::State& state) {
98 benchmark::DoNotOptimize(state.iterations())
    [all...]
  /external/libcxx/utils/google-benchmark/test/
benchmark_test.cc 1 #include "benchmark/benchmark.h"
54 static void BM_Factorial(benchmark::State& state) {
62 BENCHMARK(BM_Factorial);
63 BENCHMARK(BM_Factorial)->UseRealTime();
65 static void BM_CalculatePiRange(benchmark::State& state) {
74 static void BM_CalculatePi(benchmark::State& state) {
77 benchmark::DoNotOptimize(CalculatePi(depth));
80 BENCHMARK(BM_CalculatePi)->Threads(8);
81 BENCHMARK(BM_CalculatePi)->ThreadRange(1, 32)
    [all...]
skip_with_error_test.cc 7 #include "benchmark/benchmark.h"
11 class TestReporter : public benchmark::ConsoleReporter {
33 typedef benchmark::BenchmarkReporter::Run Run;
64 void BM_error_before_running(benchmark::State& state) {
70 BENCHMARK(BM_error_before_running);
73 void BM_error_during_running(benchmark::State& state) {
86 BENCHMARK(BM_error_during_running)->Arg(1)->Arg(2)->ThreadRange(1, 8);
96 void BM_error_after_running(benchmark::State& state) {
98 benchmark::DoNotOptimize(state.iterations())
    [all...]
  /build/make/core/
native_benchmark.mk 7 LOCAL_STATIC_LIBRARIES += libgoogle-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/libcxx/benchmarks/
algorithms.bench.cpp 5 #include "benchmark/benchmark_api.h"
11 void BM_Sort(benchmark::State& st, GenInputs gen) {
18 benchmark::DoNotOptimize(C.data());
25 benchmark::DoNotOptimize(I.data());
29 benchmark::ClobberMemory();
  /external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
SynchronousHttpClient.java 30 @Override public void prepare(Benchmark benchmark) {
31 this.targetBacklog = benchmark.targetBacklog;
32 executor = new ThreadPoolExecutor(benchmark.concurrencyLevel, benchmark.concurrencyLevel,
OkHttpAsync.java 46 @Override public void prepare(final Benchmark benchmark) {
47 concurrencyLevel = benchmark.concurrencyLevel;
48 targetBacklog = benchmark.targetBacklog;
51 client.setProtocols(benchmark.protocols);
52 client.setDispatcher(new Dispatcher(new ThreadPoolExecutor(benchmark.concurrencyLevel,
53 benchmark.concurrencyLevel, 60, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>())));
55 if (benchmark.tls) {
  /external/valgrind/memcheck/tests/
vcpu_fbench.stdout.exp 2 and performance benchmark. 100 iterations will be made.
7 adjust iteration count so the benchmark runs about five minutes.
  /frameworks/base/libs/androidfw/tests/
SparseEntry_bench.cpp 28 static void BM_SparseEntryGetResourceSparseSmall(benchmark::State& state) {
35 BENCHMARK(BM_SparseEntryGetResourceSparseSmall);
37 static void BM_SparseEntryGetResourceNotSparseSmall(benchmark::State& state) {
44 BENCHMARK(BM_SparseEntryGetResourceNotSparseSmall);
46 static void BM_SparseEntryGetResourceSparseLarge(benchmark::State& state) {
53 BENCHMARK(BM_SparseEntryGetResourceSparseLarge);
55 static void BM_SparseEntryGetResourceNotSparseLarge(benchmark::State& state) {
62 BENCHMARK(BM_SparseEntryGetResourceNotSparseLarge);
  /frameworks/minikin/tests/perftests/
Hyphenator.cpp 16 #include <benchmark/benchmark.h>
29 static void BM_Hyphenator_short_word(benchmark::State& state) {
41 BENCHMARK(BM_Hyphenator_short_word);
43 static void BM_Hyphenator_long_word(benchmark::State& state) {
56 BENCHMARK(BM_Hyphenator_long_word);
  /bionic/benchmarks/
string_benchmark.cpp 20 #include <benchmark/benchmark.h>
29 static void BM_string_memcmp(benchmark::State& state) {
44 BENCHMARK(BM_string_memcmp)->AT_COMMON_SIZES;
46 static void BM_string_memcpy(benchmark::State& state) {
59 BENCHMARK(BM_string_memcpy)->AT_COMMON_SIZES;
61 static void BM_string_memmove(benchmark::State& state) {
73 BENCHMARK(BM_string_memmove)->AT_COMMON_SIZES;
75 static void BM_string_memset(benchmark::State& state) {
86 BENCHMARK(BM_string_memset)->AT_COMMON_SIZES
    [all...]
  /system/libhwbinder/vts/performance/
Benchmark.cpp 28 #include <benchmark/benchmark.h>
70 static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) {
84 static void BM_sendVec_passthrough(benchmark::State& state) {
88 state.SkipWithError("Failed to retrieve benchmark service.");
91 state.SkipWithError("Benchmark service is remote.");
96 static void BM_sendVec_binderize(benchmark::State& state) {
100 state.SkipWithError("Failed to retrieve benchmark service.");
103 state.SkipWithError("Unable to fetch remote benchmark service.");
127 BENCHMARK(BM_sendVec_binderize)->RangeMultiplier(2)->Range(4, 65536)
    [all...]

Completed in 848 milliseconds

1 2 34 5 6 7 8 91011>>