Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/tests/microbench/
DDisplayListCanvasBench.cpp26 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 …]
DPathParserBench.cpp29 void BM_PathParser_parseStringPathForSkPath(benchmark::State& state) { in BM_PathParser_parseStringPathForSkPath()
35 benchmark::DoNotOptimize(&result); in BM_PathParser_parseStringPathForSkPath()
36 benchmark::DoNotOptimize(&skPath); in BM_PathParser_parseStringPathForSkPath()
41 void BM_PathParser_parseStringPathForPathData(benchmark::State& state) { in BM_PathParser_parseStringPathForPathData()
47 benchmark::DoNotOptimize(&result); in BM_PathParser_parseStringPathForPathData()
48 benchmark::DoNotOptimize(&outData); in BM_PathParser_parseStringPathForPathData()
DTaskManagerBench.cpp41 void BM_TaskManager_allocateTask(benchmark::State& state) { in BM_TaskManager_allocateTask()
47 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_allocateTask()
52 void BM_TaskManager_enqueueTask(benchmark::State& state) { in BM_TaskManager_enqueueTask()
60 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_enqueueTask()
70 void BM_TaskManager_enqueueRunDeleteTask(benchmark::State& state) { in BM_TaskManager_enqueueRunDeleteTask()
78 benchmark::DoNotOptimize(tasks.back()); in BM_TaskManager_enqueueRunDeleteTask()
83 benchmark::DoNotOptimize(task->getResult()); in BM_TaskManager_enqueueRunDeleteTask()
DShadowBench.cpp80 void BM_TessellateShadows_roundrect_opaque(benchmark::State& state) { in BM_TessellateShadows_roundrect_opaque()
90 benchmark::DoNotOptimize(&ambient); in BM_TessellateShadows_roundrect_opaque()
91 benchmark::DoNotOptimize(&spot); in BM_TessellateShadows_roundrect_opaque()
96 void BM_TessellateShadows_roundrect_translucent(benchmark::State& state) { in BM_TessellateShadows_roundrect_translucent()
107 benchmark::DoNotOptimize(ambient.get()); in BM_TessellateShadows_roundrect_translucent()
108 benchmark::DoNotOptimize(spot.get()); in BM_TessellateShadows_roundrect_translucent()
DFrameBuilderBench.cpp61 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()
88 benchmark::DoNotOptimize(&renderer); in BM_FrameBuilder_deferAndRender()
114 void BM_FrameBuilder_defer_scene(benchmark::State& state) { in BM_FrameBuilder_defer_scene()
124 benchmark::DoNotOptimize(&frameBuilder); in BM_FrameBuilder_defer_scene()
130 void BM_FrameBuilder_deferAndRender_scene(benchmark::State& state) { in BM_FrameBuilder_deferAndRender_scene()
147 benchmark::DoNotOptimize(&renderer); in BM_FrameBuilder_deferAndRender_scene()
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/libs/androidfw/tests/
DAssetManager2_bench.cpp39 static void BM_AssetManagerLoadAssets(benchmark::State& state) { in BM_AssetManagerLoadAssets()
49 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadAssetsOld()
62 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssets()
72 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) { in BM_AssetManagerLoadFrameworkAssetsOld()
87 benchmark::State& state) { in GetResourceBenchmark()
116 static void BM_AssetManagerGetResource(benchmark::State& state) { in BM_AssetManagerGetResource()
122 static void BM_AssetManagerGetResourceOld(benchmark::State& state) { in BM_AssetManagerGetResourceOld()
128 static void BM_AssetManagerGetLibraryResource(benchmark::State& state) { in BM_AssetManagerGetLibraryResource()
136 static void BM_AssetManagerGetLibraryResourceOld(benchmark::State& state) { in BM_AssetManagerGetLibraryResourceOld()
146 static void BM_AssetManagerGetResourceFrameworkLocale(benchmark::State& state) { in BM_AssetManagerGetResourceFrameworkLocale()
[all …]
DSparseEntry_bench.cpp28 static void BM_SparseEntryGetResourceSparseSmall(benchmark::State& state) { in BM_SparseEntryGetResourceSparseSmall()
37 static void BM_SparseEntryGetResourceNotSparseSmall(benchmark::State& state) { in BM_SparseEntryGetResourceNotSparseSmall()
46 static void BM_SparseEntryGetResourceSparseLarge(benchmark::State& state) { in BM_SparseEntryGetResourceSparseLarge()
55 static void BM_SparseEntryGetResourceNotSparseLarge(benchmark::State& state) { in BM_SparseEntryGetResourceNotSparseLarge()
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.h30 uint32_t resid, benchmark::State& state);
DBenchmarkHelpers.cpp25 uint32_t resid, benchmark::State& state) { in GetResourceBenchmarkOld()
/frameworks/base/libs/hwui/tests/macrobench/
Dmain.cpp46 std::unique_ptr<benchmark::BenchmarkReporter> gBenchmarkReporter;
49 benchmark::BenchmarkReporter* reporter);
136 gBenchmarkReporter.reset(new benchmark::ConsoleReporter()); in setBenchmarkFormat()
138 gBenchmarkReporter.reset(new benchmark::JSONReporter()); in setBenchmarkFormat()
140 gBenchmarkReporter.reset(new benchmark::CSVReporter()); in setBenchmarkFormat()
311 gBenchmarkReporter.reset(new benchmark::ConsoleReporter()); in main()
322 benchmark::BenchmarkReporter::Context context; in main()
323 context.num_cpus = benchmark::NumCPUs(); in main()
324 context.mhz_per_cpu = benchmark::CyclesPerSecond() / 1000000.0f; in main()
325 context.cpu_scaling_enabled = benchmark::CpuScalingEnabled(); in main()
DTestSceneRunner.cpp67 benchmark::BenchmarkReporter* reporter, RenderProxy* proxy, in outputBenchmarkReport()
69 using namespace benchmark; in outputBenchmarkReport()
114 benchmark::BenchmarkReporter* reporter) { in run()
/frameworks/minikin/tests/perftests/
DFontLanguage.cpp22 static void BM_FontLanguage_en_US(benchmark::State& state) { in BM_FontLanguage_en_US()
29 static void BM_FontLanguage_en_Latn_US(benchmark::State& state) { in BM_FontLanguage_en_Latn_US()
36 static void BM_FontLanguage_en_Latn_US_u_em_emoji(benchmark::State& state) { in BM_FontLanguage_en_Latn_US_u_em_emoji()
DGraphemeBreak.cpp34 static void BM_GraphemeBreak_Ascii(benchmark::State& state) { in BM_GraphemeBreak_Ascii()
49 static void BM_GraphemeBreak_Emoji(benchmark::State& state) { in BM_GraphemeBreak_Emoji()
64 static void BM_GraphemeBreak_Emoji_Flags(benchmark::State& state) { in BM_GraphemeBreak_Emoji_Flags()
DFontCollection.cpp30 static void BM_FontCollection_construct(benchmark::State& state) { in BM_FontCollection_construct()
40 static void BM_FontCollection_hasVariationSelector(benchmark::State& state) { in BM_FontCollection_hasVariationSelector()
76 static void BM_FontCollection_itemize(benchmark::State& state) { in BM_FontCollection_itemize()
Dmain.cpp41 benchmark::Initialize(&argc, argv); in main()
42 benchmark::RunSpecifiedBenchmarks(); in main()
DHyphenator.cpp29 static void BM_Hyphenator_short_word(benchmark::State& state) { in BM_Hyphenator_short_word()
43 static void BM_Hyphenator_long_word(benchmark::State& state) { in BM_Hyphenator_long_word()
DFontFamily.cpp23 static void BM_FontFamily_create(benchmark::State& state) { in BM_FontFamily_create()
DWordBreaker.cpp23 static void BM_WordBreaker_English(benchmark::State& state) { in BM_WordBreaker_English()
/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/cmds/flatland/
DREADME.txt1 Flatland is a benchmark for measuring GPU performance in various 2D UI
14 benchmark. Running 'adb shell stop' after turning off the display is probably
26 If running the benchmark with the clocks locked causes thermal issues, the -s
28 in between each benchmark sample run. Regardless of the scenario being
51 was measured. The third column is the measured benchmark result. It

12