/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()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | DisplayListCanvasBench.cpp | 27 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 …]
|
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 | 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()
|
/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/av/media/tests/benchmark/ |
D | README.md | 3 …c, MediaExtractor and MediaMuxer for given set of inputs. It is used to benchmark these modules on… 10 mmm frameworks/av/media/tests/benchmark/ 14 …(https://storage.googleapis.com/android_media/frameworks/av/media/tests/benchmark/MediaBenchmark.z… 26 …ion) now supports profiling both SDK and NDK APIs and that is the preferred way to benchmark codecs 93 atest com.android.media.benchmark.tests -- --enable-module-dynamic-download=true 99 atest com.android.media.benchmark.tests.ExtractorTest -- --enable-module-dynamic-download=true 100 atest com.android.media.benchmark.tests.DecoderTest -- --enable-module-dynamic-download=true 101 atest com.android.media.benchmark.tests.MuxerTest -- --enable-module-dynamic-download=true 102 atest com.android.media.benchmark.tests.EncoderTest -- --enable-module-dynamic-download=true 129 …shell am instrument -w -r -e package com.android.media.benchmark.tests com.android.media.benchmark… [all …]
|
/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 | 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 | 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 | BitmapUploadActivity.java | 17 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;
|
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/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()
|
D | main.cpp | 23 benchmark::Initialize(&argc, argv); in main() 24 benchmark::RunSpecifiedBenchmarks(); in main()
|
/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/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | ExtractorTest.java | 17 package com.android.media.benchmark.tests; 19 import com.android.media.benchmark.R; 20 import com.android.media.benchmark.library.Extractor; 21 import com.android.media.benchmark.library.Native; 22 import com.android.media.benchmark.library.Stats;
|
D | DecoderTest.java | 17 package com.android.media.benchmark.tests; 26 import com.android.media.benchmark.R; 27 import com.android.media.benchmark.library.CodecUtils; 28 import com.android.media.benchmark.library.Decoder; 29 import com.android.media.benchmark.library.Extractor; 30 import com.android.media.benchmark.library.Native; 31 import com.android.media.benchmark.library.Stats;
|
D | MuxerTest.java | 16 package com.android.media.benchmark.tests; 18 import com.android.media.benchmark.R; 19 import com.android.media.benchmark.library.Extractor; 20 import com.android.media.benchmark.library.Muxer; 21 import com.android.media.benchmark.library.Native; 22 import com.android.media.benchmark.library.Stats;
|
/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/libs/hwui/tests/macrobench/ |
D | main.cpp | 46 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()
|