Home
last modified time | relevance | path

Searched refs:benchmark (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp38 static void BM_AssetManagerLoadAssets(benchmark::State& state) { in BM_AssetManagerLoadAssets()
48 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadAssetsOld()
61 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssets()
71 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssetsOld()
84 static void BM_AssetManagerGetResource(benchmark::State& state, uint32_t resid) { in BM_AssetManagerGetResource()
90 static void BM_AssetManagerGetResourceOld(benchmark::State& state, uint32_t resid) { in BM_AssetManagerGetResourceOld()
97 static void BM_AssetManagerGetLibraryResource(benchmark::State& state) { in BM_AssetManagerGetLibraryResource()
105 static void BM_AssetManagerGetLibraryResourceOld(benchmark::State& state) { in BM_AssetManagerGetLibraryResourceOld()
115 static void BM_AssetManagerGetResourceFrameworkLocale(benchmark::State& state) { in BM_AssetManagerGetResourceFrameworkLocale()
123 static void BM_AssetManagerGetResourceFrameworkLocaleOld(benchmark::State& state) { in BM_AssetManagerGetResourceFrameworkLocaleOld()
[all …]
DSparseEntry_bench.cpp27 static void BM_SparseEntryGetResourceOldSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparse()
36 static void BM_SparseEntryGetResourceOldNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparse()
45 static void BM_SparseEntryGetResourceSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparse()
54 static void BM_SparseEntryGetResourceNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparse()
DTheme_bench.cpp30 static void BM_ThemeApplyStyleFramework(benchmark::State& state) { in BM_ThemeApplyStyleFramework()
47 static void BM_ThemeApplyStyleFrameworkOld(benchmark::State& state) { in BM_ThemeApplyStyleFrameworkOld()
64 static void BM_ThemeGetAttribute(benchmark::State& state) { in BM_ThemeGetAttribute()
82 static void BM_ThemeGetAttributeOld(benchmark::State& state) { in BM_ThemeGetAttributeOld()
DBenchMain.cpp24 ::benchmark::Initialize(&argc, argv); in main()
29 size_t result = ::benchmark::RunSpecifiedBenchmarks(); in main()
DBenchmarkHelpers.h31 uint32_t resid, ::benchmark::State& state);
34 uint32_t resid, benchmark::State& state);
/frameworks/base/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp27 void BM_DisplayList_alloc(benchmark::State& benchState) { in BM_DisplayList_alloc()
30 benchmark::DoNotOptimize(displayList); in BM_DisplayList_alloc()
36 void BM_DisplayList_alloc_theoretical(benchmark::State& benchState) { in BM_DisplayList_alloc_theoretical()
39 benchmark::DoNotOptimize(displayList); in BM_DisplayList_alloc_theoretical()
45 void BM_DisplayListCanvas_record_empty(benchmark::State& benchState) { in BM_DisplayListCanvas_record_empty()
51 benchmark::DoNotOptimize(canvas.get()); in BM_DisplayListCanvas_record_empty()
57 void BM_DisplayListCanvas_record_saverestore(benchmark::State& benchState) { in BM_DisplayListCanvas_record_saverestore()
65 benchmark::DoNotOptimize(canvas.get()); in BM_DisplayListCanvas_record_saverestore()
73 void BM_DisplayListCanvas_record_translate(benchmark::State& benchState) { in BM_DisplayListCanvas_record_translate()
80 benchmark::DoNotOptimize(canvas.get()); in BM_DisplayListCanvas_record_translate()
[all …]
DPathParserBench.cpp31 void BM_PathParser_parseStringPathForSkPath(benchmark::State& state) { in BM_PathParser_parseStringPathForSkPath()
37 benchmark::DoNotOptimize(&result); in BM_PathParser_parseStringPathForSkPath()
38 benchmark::DoNotOptimize(&skPath); in BM_PathParser_parseStringPathForSkPath()
43 void BM_PathParser_parseStringPathForPathData(benchmark::State& state) { in BM_PathParser_parseStringPathForPathData()
49 benchmark::DoNotOptimize(&result); in BM_PathParser_parseStringPathForPathData()
50 benchmark::DoNotOptimize(&outData); in BM_PathParser_parseStringPathForPathData()
DLinearAllocatorBench.cpp26 static void BM_LinearStdAllocator_vectorBaseline(benchmark::State& state) { in BM_LinearStdAllocator_vectorBaseline()
32 benchmark::DoNotOptimize(&v); in BM_LinearStdAllocator_vectorBaseline()
37 static void BM_LinearStdAllocator_vector(benchmark::State& state) { in BM_LinearStdAllocator_vector()
45 benchmark::DoNotOptimize(&v); in BM_LinearStdAllocator_vector()
DRenderNodeBench.cpp24 void BM_RenderNode_create(benchmark::State& state) { in BM_RenderNode_create()
28 benchmark::DoNotOptimize(node); in BM_RenderNode_create()
Dmain.cpp31 benchmark::Initialize(&argc, argv); in main()
33 benchmark::RunSpecifiedBenchmarks(); in main()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java17 package com.android.benchmark.app;
27 import com.android.benchmark.registry.BenchmarkGroup;
28 import com.android.benchmark.registry.BenchmarkRegistry;
29 import com.android.benchmark.R;
102 BenchmarkGroup.Benchmark benchmark = in getChildView() local
109 name.setText(benchmark.getName()); in getChildView()
111 enabledBox.setOnClickListener(benchmark); in getChildView()
112 enabledBox.setChecked(benchmark.isEnabled()); in getChildView()
DRunLocalBenchmarksActivity.java17 package com.android.benchmark.app;
35 import com.android.benchmark.R;
36 import com.android.benchmark.registry.BenchmarkGroup;
37 import com.android.benchmark.registry.BenchmarkRegistry;
38 import com.android.benchmark.results.GlobalResultsStore;
39 import com.android.benchmark.results.UiBenchmarkResult;
40 import com.android.benchmark.synthetic.MemoryActivity;
41 import com.android.benchmark.ui.BitmapUploadActivity;
42 import com.android.benchmark.ui.EditTextInputActivity;
43 import com.android.benchmark.ui.FullScreenOverdrawActivity;
[all …]
DUiResultsFragment.java17 package com.android.benchmark.app;
28 import com.android.benchmark.R;
29 import com.android.benchmark.registry.BenchmarkGroup;
30 import com.android.benchmark.registry.BenchmarkRegistry;
31 import com.android.benchmark.results.GlobalResultsStore;
32 import com.android.benchmark.results.UiBenchmarkResult;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/
DProtoBench.java104 benchmark("Serialize to byte string", inputData.length, new Action() { in runTest()
107 benchmark("Serialize to byte array", inputData.length, new Action() { in runTest()
110 benchmark("Serialize to memory stream", inputData.length, new Action() { in runTest()
116 benchmark("Serialize to /dev/null with FileOutputStream", inputData.length, new Action() { in runTest()
121benchmark("Serialize to /dev/null reusing FileOutputStream", inputData.length, new Action() { in runTest()
128 benchmark("Deserialize from byte string", inputData.length, new Action() { in runTest()
133 benchmark("Deserialize from byte array", inputData.length, new Action() { in runTest()
139 benchmark("Deserialize from memory stream", inputData.length, new Action() { in runTest()
156 private static void benchmark(String name, long dataSize, Action action) throws IOException { in benchmark() method in ProtoBench
/frameworks/minikin/tests/perftests/
DFontLanguage.cpp22 static void BM_Locale_en_US(benchmark::State& state) { in BM_Locale_en_US()
29 static void BM_Locale_en_Latn_US(benchmark::State& state) { in BM_Locale_en_Latn_US()
36 static void BM_Locale_en_Latn_US_u_em_emoji(benchmark::State& state) { in BM_Locale_en_Latn_US_u_em_emoji()
DGraphemeBreak.cpp35 static void BM_GraphemeBreak_Ascii(benchmark::State& state) { in BM_GraphemeBreak_Ascii()
50 static void BM_GraphemeBreak_Emoji(benchmark::State& state) { in BM_GraphemeBreak_Emoji()
65 static void BM_GraphemeBreak_Emoji_Flags(benchmark::State& state) { in BM_GraphemeBreak_Emoji_Flags()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DFullScreenOverdrawActivity.java17 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;
DTextScrollActivity.java17 package com.android.benchmark.ui;
25 import com.android.benchmark.registry.BenchmarkRegistry;
26 import com.android.benchmark.ui.automation.Automator;
27 import com.android.benchmark.ui.automation.Interaction;
DListViewScrollActivity.java17 package com.android.benchmark.ui;
28 import com.android.benchmark.R;
29 import com.android.benchmark.ui.automation.Automator;
30 import com.android.benchmark.ui.automation.Interaction;
DBitmapUploadActivity.java17 package com.android.benchmark.ui;
34 import com.android.benchmark.R;
35 import com.android.benchmark.registry.BenchmarkRegistry;
36 import com.android.benchmark.ui.automation.Automator;
37 import com.android.benchmark.ui.automation.Interaction;
DShadowGridActivity.java16 package com.android.benchmark.ui;
27 import com.android.benchmark.R;
28 import com.android.benchmark.ui.automation.Automator;
29 import com.android.benchmark.ui.automation.Interaction;
/frameworks/base/core/tests/benchmarks/
DREADME2 These benchmarks use the Caliper benchmark framework, and can be
18 # Run vogar in benchmark mode, telling it to use app_process (not dalvikvm which is default)
21 $> vogar --mode app_process --benchmark path/to/Benchmark.java
25 $> vogar --timeout 1000 --mode app_process --benchmark path/to/Benchmark -- --time-limit 9999s
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp32 using ::benchmark::State;
420 class BufferTransportBenchmark : public ::benchmark::Fixture {
516 state.counters["gain_buffer_us"] = ::benchmark::Counter( in BENCHMARK_DEFINE_F()
517 total_gain_buffer_us / iterations, ::benchmark::Counter::kAvgThreads); in BENCHMARK_DEFINE_F()
518 state.counters["post_buffer_us"] = ::benchmark::Counter( in BENCHMARK_DEFINE_F()
519 total_post_buffer_us / iterations, ::benchmark::Counter::kAvgThreads); in BENCHMARK_DEFINE_F()
520 state.counters["producer_us"] = ::benchmark::Counter( in BENCHMARK_DEFINE_F()
522 ::benchmark::Counter::kAvgThreads); in BENCHMARK_DEFINE_F()
526 ->Unit(::benchmark::kMicrosecond)
583 ::benchmark::Initialize(&argc, argv); in main()
[all …]
/frameworks/base/cmds/statsd/benchmark/
Dhello_world_benchmark.cpp18 static void BM_StringCreation(benchmark::State& state) { in BM_StringCreation()
25 static void BM_StringCopy(benchmark::State& state) { in BM_StringCopy()
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp46 std::unique_ptr<benchmark::BenchmarkReporter> gBenchmarkReporter;
49 benchmark::BenchmarkReporter* reporter);
139 gBenchmarkReporter.reset(new benchmark::ConsoleReporter()); in setBenchmarkFormat()
141 gBenchmarkReporter.reset(new benchmark::JSONReporter()); in setBenchmarkFormat()
345 gBenchmarkReporter.reset(new benchmark::ConsoleReporter()); in main()
356 benchmark::BenchmarkReporter::Context context; in main()

123