/frameworks/av/media/libmediatranscoding/transcoder/benchmark/ |
D | MediaTranscoderBenchmark.cpp | 106 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 | 44 static void ReadMediaSamples(benchmark::State& state, const std::string& srcFileName, in ReadMediaSamples() 79 benchmark::Counter(frameCount, benchmark::Counter::kIsRate); in ReadMediaSamples() 133 BENCHMARK(func)->UseRealTime()->MeasureProcessCPUTime()->Unit(benchmark::kMillisecond) 135 static void BM_MediaSampleReader_AudioVideo_Parallel(benchmark::State& state) { in BM_MediaSampleReader_AudioVideo_Parallel() 140 static void BM_MediaSampleReader_AudioVideo_Sequential(benchmark::State& state) { in BM_MediaSampleReader_AudioVideo_Sequential() 145 static void BM_MediaSampleReader_Video(benchmark::State& state) { in BM_MediaSampleReader_Video()
|
/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 | 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 | 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() 79 static void BM_ThemeGetAttributeOld(benchmark::State& state) { in BM_ThemeGetAttributeOld()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | DisplayListCanvasBench.cpp | 29 void BM_SkiaDisplayList_alloc(benchmark::State& benchState) { in BM_SkiaDisplayList_alloc() 32 benchmark::DoNotOptimize(displayList); in BM_SkiaDisplayList_alloc() 38 void BM_SkiaDisplayList_alloc_theoretical(benchmark::State& benchState) { in BM_SkiaDisplayList_alloc_theoretical() 41 benchmark::DoNotOptimize(displayList); in BM_SkiaDisplayList_alloc_theoretical() 47 void BM_SkiaDisplayListCanvas_record_empty(benchmark::State& benchState) { in BM_SkiaDisplayListCanvas_record_empty() 53 benchmark::DoNotOptimize(canvas.get()); in BM_SkiaDisplayListCanvas_record_empty() 59 void BM_SkiaDisplayListCanvas_record_saverestore(benchmark::State& benchState) { in BM_SkiaDisplayListCanvas_record_saverestore() 67 benchmark::DoNotOptimize(canvas.get()); in BM_SkiaDisplayListCanvas_record_saverestore() 75 void BM_SkiaDisplayListCanvas_record_translate(benchmark::State& benchState) { in BM_SkiaDisplayListCanvas_record_translate() 82 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 | 25 void BM_RenderNode_create(benchmark::State& state) { in BM_RenderNode_create() 29 benchmark::DoNotOptimize(node); in BM_RenderNode_create() 35 void BM_RenderNode_recordSimple(benchmark::State& state) { in BM_RenderNode_recordSimple()
|
/frameworks/av/media/libaudioprocessing/tests/ |
D | mixerops_benchmark.cpp | 29 static void BM_VolumeRampMulti(benchmark::State& state) { in BM_VolumeRampMulti() 47 benchmark::DoNotOptimize(out); in BM_VolumeRampMulti() 48 benchmark::DoNotOptimize(in); in BM_VolumeRampMulti() 50 benchmark::ClobberMemory(); in BM_VolumeRampMulti() 55 static void BM_VolumeMulti(benchmark::State& state) { in BM_VolumeMulti() 70 benchmark::DoNotOptimize(out); in BM_VolumeMulti() 71 benchmark::DoNotOptimize(in); in BM_VolumeMulti() 73 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()
|
D | binderRpcBenchmark.cpp | 51 void BM_getRootObject(benchmark::State& state) { in BM_getRootObject() 58 void BM_pingTransaction(benchmark::State& state) { in BM_pingTransaction() 68 void BM_repeatString(benchmark::State& state) { in BM_repeatString() 97 void BM_repeatBinder(benchmark::State& state) { in BM_repeatBinder() 115 ::benchmark::Initialize(&argc, argv); in main() 116 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; in main() 136 ::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()
|
/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 | 64 static void runBenchmark(benchmark::State& state, microseconds delay, R (IPower::*fn)(Args0...), in runBenchmark() 91 static void runSessionBenchmark(benchmark::State& state, R (IPowerHintSession::*fn)(Args0...), in runSessionBenchmark() 131 static void BM_PowerHalAidlBenchmarks_isBoostSupported(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_isBoostSupported() 137 static void BM_PowerHalAidlBenchmarks_isModeSupported(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_isModeSupported() 143 static void BM_PowerHalAidlBenchmarks_setBoost(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_setBoost() 148 static void BM_PowerHalAidlBenchmarks_setMode(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_setMode() 153 static void BM_PowerHalAidlBenchmarks_createHintSession(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_createHintSession() 181 static void BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_getHintSessionPreferredRate() 186 static void BM_PowerHalAidlBenchmarks_updateTargetWorkDuration(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_updateTargetWorkDuration() 191 static void BM_PowerHalAidlBenchmarks_reportActualWorkDuration(benchmark::State& state) { in BM_PowerHalAidlBenchmarks_reportActualWorkDuration()
|
D | PowerHalHidlBenchmarks.cpp | 49 static void runBenchmark(benchmark::State& state, microseconds delay, Return<R> (I::*fn)(Args0...), in runBenchmark() 69 static void BM_PowerHalHidlBenchmarks_setFeature(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_setFeature() 74 static void BM_PowerHalHidlBenchmarks_setInteractive(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_setInteractive() 78 static void BM_PowerHalHidlBenchmarks_powerHint(benchmark::State& state) { in BM_PowerHalHidlBenchmarks_powerHint() 83 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() 189 benchmark::BenchmarkReporter* reporter) { in run() 198 std::vector<benchmark::internal::Statistics> stats; in run() 200 stats.emplace_back("mean", benchmark::StatisticsMean); in run() 201 stats.emplace_back("median", benchmark::StatisticsMedian); in run() 202 stats.emplace_back("stddev", benchmark::StatisticsStdDev); in run() 206 auto summary = benchmark::ComputeStats(results); in run()
|
/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/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/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()
|