/frameworks/base/libs/androidfw/tests/ |
D | Generic_bench.cpp | 36 static void BM_hashmap_emplace_same(benchmark::State& state) { in BM_hashmap_emplace_same() 41 benchmark::DoNotOptimize(map.emplace(val, vec)); in BM_hashmap_emplace_same() 45 static void BM_hashmap_try_emplace_same(benchmark::State& state) { in BM_hashmap_try_emplace_same() 49 benchmark::DoNotOptimize(map.try_emplace(val)); in BM_hashmap_try_emplace_same() 53 static void BM_hashmap_find(benchmark::State& state) { in BM_hashmap_find() 57 benchmark::DoNotOptimize(map.find(val)); in BM_hashmap_find() 62 static void BM_hashmap_emplace_diff(benchmark::State& state) { in BM_hashmap_emplace_diff() 71 static void BM_hashmap_try_emplace_diff(benchmark::State& state) { in BM_hashmap_try_emplace_diff() 79 static void BM_hashmap_find_emplace_diff(benchmark::State& state) { in BM_hashmap_find_emplace_diff() 91 static void BM_treemap_emplace_same(benchmark::State& state) { in BM_treemap_emplace_same() [all …]
|
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 | CursorWindow_bench.cpp | 23 static void BM_CursorWindowWrite(benchmark::State& state, size_t rows, size_t cols) { in BM_CursorWindowWrite() 39 static void BM_CursorWindowWrite4x4(benchmark::State& state) { in BM_CursorWindowWrite4x4() 44 static void BM_CursorWindowWrite1Kx4(benchmark::State& state) { in BM_CursorWindowWrite1Kx4() 49 static void BM_CursorWindowWrite16Kx4(benchmark::State& state) { in BM_CursorWindowWrite16Kx4() 54 static void BM_CursorWindowRead(benchmark::State& state, size_t rows, size_t cols) { in BM_CursorWindowRead() 71 static void BM_CursorWindowRead4x4(benchmark::State& state) { in BM_CursorWindowRead4x4() 76 static void BM_CursorWindowRead1Kx4(benchmark::State& state) { in BM_CursorWindowRead1Kx4() 81 static void BM_CursorWindowRead16Kx4(benchmark::State& state) { in BM_CursorWindowRead16Kx4()
|
D | SparseEntry_bench.cpp | 29 uint32_t resid, benchmark::State& state, void (*GetResourceBenchmarkFunc)( in BM_SparseEntryGetResourceHelper() 31 uint32_t, benchmark::State&)){ in BM_SparseEntryGetResourceHelper() 38 static void BM_SparseEntryGetResourceOldSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparse() 45 static void BM_SparseEntryGetResourceOldNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparse() 52 static void BM_SparseEntryGetResourceSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparse() 59 static void BM_SparseEntryGetResourceNotSparse(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparse() 66 static void BM_SparseEntryGetResourceOldSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldSparseRuntime() 74 static void BM_SparseEntryGetResourceOldNotSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceOldNotSparseRuntime() 82 static void BM_SparseEntryGetResourceSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceSparseRuntime() 90 static void BM_SparseEntryGetResourceNotSparseRuntime(benchmark::State& state, uint32_t resid) { in BM_SparseEntryGetResourceNotSparseRuntime()
|
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() 79 static void BM_ThemeGetAttributeOld(benchmark::State& state) { in BM_ThemeGetAttributeOld()
|
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/ |
D | MediaTranscoderBenchmark.cpp | 108 static void TranscodeMediaFile(benchmark::State& state, const std::string& srcFileName, in TranscodeMediaFile() 173 state.counters[PARAM_VIDEO_FRAME_RATE] = benchmark::Counter( in TranscodeMediaFile() 174 frameCount, benchmark::Counter::kIsIterationInvariantRate); in TranscodeMediaFile() 250 static void TranscodeMediaFile(benchmark::State& state, const std::string& srcFileName, in TranscodeMediaFile() 276 static void BM_TranscodeAvc2AvcAudioVideo2AudioVideo(benchmark::State& state) { in BM_TranscodeAvc2AvcAudioVideo2AudioVideo() 282 static void BM_TranscodeAvc2AvcVideo2Video(benchmark::State& state) { in BM_TranscodeAvc2AvcVideo2Video() 288 static void BM_TranscodeAvc2AvcAV2AVMaxOperatingRate(benchmark::State& state) { in BM_TranscodeAvc2AvcAV2AVMaxOperatingRate() 294 static void BM_TranscodeAvc2AvcV2VMaxOperatingRate(benchmark::State& state) { in BM_TranscodeAvc2AvcV2VMaxOperatingRate() 300 static void BM_TranscodeAvc2AvcAV2AV720P(benchmark::State& state) { in BM_TranscodeAvc2AvcAV2AV720P() 306 static void BM_TranscodeAvc2AvcAV2AV720PMaxOperatingRate(benchmark::State& state) { in BM_TranscodeAvc2AvcAV2AV720PMaxOperatingRate() [all …]
|
D | MediaSampleReaderBenchmark.cpp | 45 static void ReadMediaSamples(benchmark::State& state, const std::string& srcFileName, in ReadMediaSamples() 77 benchmark::Counter(frameCount, benchmark::Counter::kIsRate); in ReadMediaSamples() 131 BENCHMARK(func)->UseRealTime()->MeasureProcessCPUTime()->Unit(benchmark::kMillisecond) 133 static void BM_MediaSampleReader_AudioVideo_Parallel(benchmark::State& state) { in BM_MediaSampleReader_AudioVideo_Parallel() 138 static void BM_MediaSampleReader_AudioVideo_Sequential(benchmark::State& state) { in BM_MediaSampleReader_AudioVideo_Sequential() 143 static void BM_MediaSampleReader_Video(benchmark::State& state) { in BM_MediaSampleReader_Video()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | DisplayListCanvasBench.cpp | 31 void BM_SkiaDisplayList_alloc(benchmark::State& benchState) { in BM_SkiaDisplayList_alloc() 34 benchmark::DoNotOptimize(displayList); in BM_SkiaDisplayList_alloc() 40 void BM_SkiaDisplayList_alloc_theoretical(benchmark::State& benchState) { in BM_SkiaDisplayList_alloc_theoretical() 43 benchmark::DoNotOptimize(displayList); in BM_SkiaDisplayList_alloc_theoretical() 49 void BM_SkiaDisplayListCanvas_record_empty(benchmark::State& benchState) { in BM_SkiaDisplayListCanvas_record_empty() 55 benchmark::DoNotOptimize(canvas.get()); in BM_SkiaDisplayListCanvas_record_empty() 61 void BM_SkiaDisplayListCanvas_record_saverestore(benchmark::State& benchState) { in BM_SkiaDisplayListCanvas_record_saverestore() 69 benchmark::DoNotOptimize(canvas.get()); in BM_SkiaDisplayListCanvas_record_saverestore() 77 void BM_SkiaDisplayListCanvas_record_translate(benchmark::State& benchState) { in BM_SkiaDisplayListCanvas_record_translate() 84 benchmark::DoNotOptimize(canvas.get()); in BM_SkiaDisplayListCanvas_record_translate() [all …]
|
D | CanvasOpBench.cpp | 28 void BM_CanvasOpBuffer_alloc(benchmark::State& benchState) { in BM_CanvasOpBuffer_alloc() 31 benchmark::DoNotOptimize(displayList); in BM_CanvasOpBuffer_alloc() 37 void BM_CanvasOpBuffer_record_saverestore(benchmark::State& benchState) { in BM_CanvasOpBuffer_record_saverestore() 43 benchmark::DoNotOptimize(&canvas); in BM_CanvasOpBuffer_record_saverestore() 51 void BM_CanvasOpBuffer_record_saverestoreWithReuse(benchmark::State& benchState) { in BM_CanvasOpBuffer_record_saverestoreWithReuse() 58 benchmark::DoNotOptimize(&canvas); in BM_CanvasOpBuffer_record_saverestoreWithReuse() 65 void BM_CanvasOpBuffer_record_simpleBitmapView(benchmark::State& benchState) { in BM_CanvasOpBuffer_record_simpleBitmapView() 93 benchmark::DoNotOptimize(&canvas); in BM_CanvasOpBuffer_record_simpleBitmapView()
|
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 | 27 void BM_RenderNode_create(benchmark::State& state) { in BM_RenderNode_create() 31 benchmark::DoNotOptimize(node); in BM_RenderNode_create() 37 void BM_RenderNode_recordSimple(benchmark::State& state) { in BM_RenderNode_recordSimple()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | mixerops_benchmark.cpp | 27 static void BM_VolumeRampMulti(benchmark::State& state) { in BM_VolumeRampMulti() 45 benchmark::DoNotOptimize(out); in BM_VolumeRampMulti() 46 benchmark::DoNotOptimize(in); in BM_VolumeRampMulti() 48 benchmark::ClobberMemory(); in BM_VolumeRampMulti() 53 static void BM_VolumeMulti(benchmark::State& state) { in BM_VolumeMulti() 68 benchmark::DoNotOptimize(out); in BM_VolumeMulti() 69 benchmark::DoNotOptimize(in); in BM_VolumeMulti() 71 benchmark::ClobberMemory(); in BM_VolumeMulti()
|
/frameworks/native/libs/binder/tests/ |
D | binderParcelBenchmark.cpp | 62 static void VectorArgs(benchmark::internal::Benchmark* b) { in VectorArgs() 69 static void BM_ParcelVector(benchmark::State& state) { in BM_ParcelVector() 82 benchmark::DoNotOptimize(v2[0]); in BM_ParcelVector() 83 benchmark::ClobberMemory(); in BM_ParcelVector() 146 static void BM_BoolVector(benchmark::State& state) { in BM_BoolVector() 150 static void BM_ByteVector(benchmark::State& state) { in BM_ByteVector() 154 static void BM_CharVector(benchmark::State& state) { in BM_CharVector() 158 static void BM_Int32Vector(benchmark::State& state) { in BM_Int32Vector() 162 static void BM_Int64Vector(benchmark::State& state) { in BM_Int64Vector()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
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 | 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 …]
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalControllerBenchmarks.cpp | 44 static void runBenchmark(benchmark::State& state, HalResult<T> (PowerHalController::*fn)(Args0...), in runBenchmark() 56 static void runCachedBenchmark(benchmark::State& state, in runCachedBenchmark() 74 static void BM_PowerHalControllerBenchmarks_init(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_init() 81 static void BM_PowerHalControllerBenchmarks_initCached(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_initCached() 91 static void BM_PowerHalControllerBenchmarks_setBoost(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setBoost() 96 static void BM_PowerHalControllerBenchmarks_setBoostCached(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setBoostCached() 101 static void BM_PowerHalControllerBenchmarks_setMode(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setMode() 106 static void BM_PowerHalControllerBenchmarks_setModeCached(benchmark::State& state) { in BM_PowerHalControllerBenchmarks_setModeCached()
|
D | PowerHalAidlBenchmarks.cpp | 67 static void runBenchmark(benchmark::State& state, microseconds delay, R (IPower::*fn)(Args0...), in runBenchmark() 96 static void runSessionBenchmark(benchmark::State& state, R (IPowerHintSession::*fn)(Args0...), in runSessionBenchmark() 139 static void BM_PowerHalAidlBenchmarks_isBoostSupported(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_isBoostSupported() 145 static void BM_PowerHalAidlBenchmarks_isModeSupported(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_isModeSupported() 151 static void BM_PowerHalAidlBenchmarks_setBoost(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_setBoost() 156 static void BM_PowerHalAidlBenchmarks_setMode(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_setMode() 161 static void BM_PowerHalAidlBenchmarks_createHintSession(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_createHintSession() 192 static void BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate() 197 static void BM_PowerHalAidlBenchmarks_updateTargetWorkDuration(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_updateTargetWorkDuration() 202 static void BM_PowerHalAidlBenchmarks_reportActualWorkDuration(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_reportActualWorkDuration()
|
D | PowerHalHidlBenchmarks.cpp | 47 static void runBenchmark(benchmark::State& state, microseconds delay, Return<R> (I::*fn)(Args0...), in runBenchmark() 68 static void BM_PowerHalHidlBenchmarks_setFeature(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_setFeature() 73 static void BM_PowerHalHidlBenchmarks_setInteractive(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_setInteractive() 77 static void BM_PowerHalHidlBenchmarks_powerHint(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_powerHint() 82 static void BM_PowerHalHidlBenchmarks_powerHintAsync(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_powerHintAsync()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 36 namespace benchmark { 79 using BenchmarkResults = std::vector<benchmark::BenchmarkReporter::Run>; 83 using namespace benchmark; in outputBenchmarkReport() 84 benchmark::BenchmarkReporter::Run report; in outputBenchmarkReport() 190 benchmark::BenchmarkReporter* reporter) { in run() 199 std::vector<benchmark::internal::Statistics> stats; in run() 201 stats.emplace_back("mean", benchmark::StatisticsMean); in run() 202 stats.emplace_back("median", benchmark::StatisticsMedian); in run() 203 stats.emplace_back("stddev", benchmark::StatisticsStdDev); in run() 207 auto summary = benchmark::ComputeStats(results); in run()
|
/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()
|
/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://dl.google.com/android-unittest/media/frameworks/av/media/tests/benchmark/MediaBenchmarkTe… 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;
|
/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/libeffects/lvm/benchmarks/ |
D | lvm_benchmark.cpp | 163 static void BM_LVM(benchmark::State& state) { in BM_LVM() 210 benchmark::DoNotOptimize(input.data()); in BM_LVM() 211 benchmark::DoNotOptimize(output.data()); in BM_LVM() 217 benchmark::ClobberMemory(); in BM_LVM() 228 static void LVMArgs(benchmark::internal::Benchmark* b) { in LVMArgs()
|