/frameworks/base/libs/hwui/tests/microbench/ |
D | DisplayListCanvasBench.cpp | 26 void BM_DisplayList_alloc(benchmark::State& benchState) { in BM_DisplayList_alloc() 29 benchmark::DoNotOptimize(displayList); in BM_DisplayList_alloc() 35 void BM_DisplayList_alloc_theoretical(benchmark::State& benchState) { in BM_DisplayList_alloc_theoretical() 38 benchmark::DoNotOptimize(displayList); in BM_DisplayList_alloc_theoretical() 44 void BM_DisplayListCanvas_record_empty(benchmark::State& benchState) { in BM_DisplayListCanvas_record_empty() 50 benchmark::DoNotOptimize(canvas.get()); in BM_DisplayListCanvas_record_empty() 56 void BM_DisplayListCanvas_record_saverestore(benchmark::State& benchState) { in BM_DisplayListCanvas_record_saverestore() 64 benchmark::DoNotOptimize(canvas.get()); in BM_DisplayListCanvas_record_saverestore() 72 void BM_DisplayListCanvas_record_translate(benchmark::State& benchState) { in BM_DisplayListCanvas_record_translate() 79 benchmark::DoNotOptimize(canvas.get()); in BM_DisplayListCanvas_record_translate() [all …]
|
D | PathParserBench.cpp | 31 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()
|
D | TaskManagerBench.cpp | 44 void BM_TaskManager_allocateTask(benchmark::State& state) { in BM_TaskManager_allocateTask() 50 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_allocateTask() 55 void BM_TaskManager_enqueueTask(benchmark::State& state) { in BM_TaskManager_enqueueTask() 63 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_enqueueTask() 73 void BM_TaskManager_enqueueRunDeleteTask(benchmark::State& state) { in BM_TaskManager_enqueueRunDeleteTask() 81 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_enqueueRunDeleteTask() 86 benchmark::DoNotOptimize(task->getResult()); in BM_TaskManager_enqueueRunDeleteTask() 93 void BM_Thread_enqueueTask(benchmark::State& state) { in BM_Thread_enqueueTask() 113 void BM_Thread_enqueueRunDeleteTask(benchmark::State& state) { in BM_Thread_enqueueRunDeleteTask()
|
D | ShadowBench.cpp | 70 void BM_TessellateShadows_roundrect_opaque(benchmark::State& state) { in BM_TessellateShadows_roundrect_opaque() 80 benchmark::DoNotOptimize(&ambient); in BM_TessellateShadows_roundrect_opaque() 81 benchmark::DoNotOptimize(&spot); in BM_TessellateShadows_roundrect_opaque() 86 void BM_TessellateShadows_roundrect_translucent(benchmark::State& state) { in BM_TessellateShadows_roundrect_translucent() 97 benchmark::DoNotOptimize(ambient.get()); in BM_TessellateShadows_roundrect_translucent() 98 benchmark::DoNotOptimize(spot.get()); in BM_TessellateShadows_roundrect_translucent()
|
D | FrameBuilderBench.cpp | 61 void BM_FrameBuilder_defer(benchmark::State& state) { in BM_FrameBuilder_defer() 68 benchmark::DoNotOptimize(&frameBuilder); in BM_FrameBuilder_defer() 74 void BM_FrameBuilder_deferAndRender(benchmark::State& state) { in BM_FrameBuilder_deferAndRender() 87 benchmark::DoNotOptimize(&renderer); in BM_FrameBuilder_deferAndRender() 114 void BM_FrameBuilder_defer_scene(benchmark::State& state) { in BM_FrameBuilder_defer_scene() 123 benchmark::DoNotOptimize(&frameBuilder); in BM_FrameBuilder_defer_scene() 129 void BM_FrameBuilder_deferAndRender_scene(benchmark::State& state) { in BM_FrameBuilder_deferAndRender_scene() 145 benchmark::DoNotOptimize(&renderer); in BM_FrameBuilder_deferAndRender_scene()
|
D | LinearAllocatorBench.cpp | 26 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()
|
D | RenderNodeBench.cpp | 24 void BM_RenderNode_create(benchmark::State& state) { in BM_RenderNode_create() 28 benchmark::DoNotOptimize(node); in BM_RenderNode_create()
|
D | main.cpp | 31 benchmark::Initialize(&argc, argv); in main() 33 benchmark::RunSpecifiedBenchmarks(); in main()
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_bench.cpp | 38 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 …]
|
D | SparseEntry_bench.cpp | 27 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()
|
D | Theme_bench.cpp | 30 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()
|
D | BenchMain.cpp | 24 ::benchmark::Initialize(&argc, argv); in main() 29 size_t result = ::benchmark::RunSpecifiedBenchmarks(); in main()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | RunLocalBenchmarksActivity.java | 17 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 …]
|
D | BenchmarkListAdapter.java | 17 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()
|
D | UiResultsFragment.java | 17 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/minikin/tests/perftests/ |
D | FontLanguage.cpp | 22 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()
|
D | GraphemeBreak.cpp | 35 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/ |
D | 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;
|
D | TextScrollActivity.java | 17 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;
|
D | ListViewScrollActivity.java | 17 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;
|
D | ShadowGridActivity.java | 16 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/ |
D | README | 2 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/base/libs/hwui/tests/macrobench/ |
D | main.cpp | 45 std::unique_ptr<benchmark::BenchmarkReporter> gBenchmarkReporter; 48 benchmark::BenchmarkReporter* reporter); 137 gBenchmarkReporter.reset(new benchmark::ConsoleReporter()); in setBenchmarkFormat() 139 gBenchmarkReporter.reset(new benchmark::JSONReporter()); in setBenchmarkFormat() 141 gBenchmarkReporter.reset(new benchmark::CSVReporter()); in setBenchmarkFormat() 335 gBenchmarkReporter.reset(new benchmark::ConsoleReporter()); in main() 346 benchmark::BenchmarkReporter::Context context; in main()
|
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/ |
D | buffer_transport_benchmark.cpp | 32 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/ |
D | Android.mk | 273 benchmark/main.cpp \ 274 benchmark/hello_world_benchmark.cpp \ 275 benchmark/log_event_benchmark.cpp \ 276 benchmark/stats_write_benchmark.cpp \ 277 benchmark/filter_value_benchmark.cpp \ 278 benchmark/get_dimensions_for_condition_benchmark.cpp \ 279 benchmark/metric_util.cpp \ 280 benchmark/duration_metric_benchmark.cpp
|