Searched refs:benchmark (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/libs/hwui/tests/microbench/
H A DRenderNodeBench.cpp17 #include <benchmark/benchmark.h>
24 void BM_RenderNode_create(benchmark::State& state) {
28 benchmark::DoNotOptimize(node);
H A Dmain.cpp22 #include <benchmark/benchmark.h>
31 benchmark::Initialize(&argc, argv);
33 benchmark::RunSpecifiedBenchmarks();
H A DLinearAllocatorBench.cpp17 #include <benchmark/benchmark.h>
26 static void BM_LinearStdAllocator_vectorBaseline(benchmark::State& state) {
32 benchmark::DoNotOptimize(&v);
37 static void BM_LinearStdAllocator_vector(benchmark::State& state) {
45 benchmark::DoNotOptimize(&v);
H A DPathParserBench.cpp17 #include <benchmark/benchmark.h>
29 void BM_PathParser_parseStringPathForSkPath(benchmark::State& state) {
35 benchmark::DoNotOptimize(&result);
36 benchmark::DoNotOptimize(&skPath);
41 void BM_PathParser_parseStringPathForPathData(benchmark::State& state) {
47 benchmark::DoNotOptimize(&result);
48 benchmark::DoNotOptimize(&outData);
H A DDisplayListCanvasBench.cpp17 #include <benchmark/benchmark.h>
26 void BM_DisplayList_alloc(benchmark::State& benchState) {
29 benchmark::DoNotOptimize(displayList);
35 void BM_DisplayList_alloc_theoretical(benchmark::State& benchState) {
38 benchmark::DoNotOptimize(displayList);
44 void BM_DisplayListCanvas_record_empty(benchmark::State& benchState) {
50 benchmark::DoNotOptimize(canvas.get());
56 void BM_DisplayListCanvas_record_saverestore(benchmark::State& benchState) {
64 benchmark
[all...]
H A DTaskManagerBench.cpp17 #include <benchmark/benchmark.h>
41 void BM_TaskManager_allocateTask(benchmark::State& state) {
47 benchmark::DoNotOptimize(tasks.back());
52 void BM_TaskManager_enqueueTask(benchmark::State& state) {
60 benchmark::DoNotOptimize(tasks.back());
70 void BM_TaskManager_enqueueRunDeleteTask(benchmark::State& state) {
78 benchmark::DoNotOptimize(tasks.back());
83 benchmark::DoNotOptimize(task->getResult());
H A DShadowBench.cpp17 #include <benchmark/benchmark.h>
80 void BM_TessellateShadows_roundrect_opaque(benchmark::State& state) {
90 benchmark::DoNotOptimize(&ambient);
91 benchmark::DoNotOptimize(&spot);
96 void BM_TessellateShadows_roundrect_translucent(benchmark::State& state) {
107 benchmark::DoNotOptimize(ambient.get());
108 benchmark::DoNotOptimize(spot.get());
H A DFontBench.cpp17 #include <benchmark/benchmark.h>
27 void BM_FontRenderer_precache_cachehits(benchmark::State& state) {
H A DFrameBuilderBench.cpp17 #include <benchmark/benchmark.h>
61 void BM_FrameBuilder_defer(benchmark::State& state) {
68 benchmark::DoNotOptimize(&frameBuilder);
74 void BM_FrameBuilder_deferAndRender(benchmark::State& state) {
88 benchmark::DoNotOptimize(&renderer);
114 void BM_FrameBuilder_defer_scene(benchmark::State& state) {
124 benchmark::DoNotOptimize(&frameBuilder);
130 void BM_FrameBuilder_deferAndRender_scene(benchmark::State& state) {
147 benchmark
[all...]
/frameworks/minikin/tests/perftests/
H A DFontLanguage.cpp16 #include <benchmark/benchmark.h>
22 static void BM_FontLanguage_en_US(benchmark::State& state) {
29 static void BM_FontLanguage_en_Latn_US(benchmark::State& state) {
36 static void BM_FontLanguage_en_Latn_US_u_em_emoji(benchmark::State& state) {
H A DFontFamily.cpp16 #include <benchmark/benchmark.h>
23 static void BM_FontFamily_create(benchmark::State& state) {
H A DWordBreaker.cpp16 #include <benchmark/benchmark.h>
23 static void BM_WordBreaker_English(benchmark::State& state) {
H A Dmain.cpp16 #include <benchmark/benchmark.h>
41 benchmark::Initialize(&argc, argv);
42 benchmark::RunSpecifiedBenchmarks();
H A DGraphemeBreak.cpp16 #include <benchmark/benchmark.h>
34 static void BM_GraphemeBreak_Ascii(benchmark::State& state) {
49 static void BM_GraphemeBreak_Emoji(benchmark::State& state) {
64 static void BM_GraphemeBreak_Emoji_Flags(benchmark::State& state) {
H A DHyphenator.cpp16 #include <benchmark/benchmark.h>
29 static void BM_Hyphenator_short_word(benchmark::State& state) {
43 static void BM_Hyphenator_long_word(benchmark::State& state) {
H A DFontCollection.cpp16 #include <benchmark/benchmark.h>
30 static void BM_FontCollection_construct(benchmark::State& state) {
40 static void BM_FontCollection_hasVariationSelector(benchmark::State& state) {
76 static void BM_FontCollection_itemize(benchmark::State& state) {
/frameworks/base/libs/androidfw/tests/
H A DBenchMain.cpp19 #include "benchmark/benchmark.h"
24 ::benchmark::Initialize(&argc, argv);
29 size_t result = ::benchmark::RunSpecifiedBenchmarks();
H A DBenchmarkHelpers.h23 #include "benchmark/benchmark.h"
30 uint32_t resid, benchmark::State& state);
H A DAssetManager2_bench.cpp17 #include "benchmark/benchmark.h"
39 static void BM_AssetManagerLoadAssets(benchmark::State& state) {
49 static void BM_AssetManagerLoadAssetsOld(benchmark::State& state) {
62 static void BM_AssetManagerLoadFrameworkAssets(benchmark::State& state) {
72 static void BM_AssetManagerLoadFrameworkAssetsOld(benchmark::State& state) {
87 benchmark::State& state) {
116 static void BM_AssetManagerGetResource(benchmark::State& state) {
122 static void BM_AssetManagerGetResourceOld(benchmark::State& state) {
128 static void BM_AssetManagerGetLibraryResource(benchmark
[all...]
H A DSparseEntry_bench.cpp28 static void BM_SparseEntryGetResourceSparseSmall(benchmark::State& state) {
37 static void BM_SparseEntryGetResourceNotSparseSmall(benchmark::State& state) {
46 static void BM_SparseEntryGetResourceSparseLarge(benchmark::State& state) {
55 static void BM_SparseEntryGetResourceNotSparseLarge(benchmark::State& state) {
H A DTheme_bench.cpp17 #include "benchmark/benchmark.h"
30 static void BM_ThemeApplyStyleFramework(benchmark::State& state) {
47 static void BM_ThemeApplyStyleFrameworkOld(benchmark::State& state) {
64 static void BM_ThemeGetAttribute(benchmark::State& state) {
82 static void BM_ThemeGetAttributeOld(benchmark::State& state) {
H A DBenchmarkHelpers.cpp25 uint32_t resid, benchmark::State& state) {
H A DAndroid.mk115 libgoogle-benchmark
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp24 #include <benchmark/benchmark.h>
46 std::unique_ptr<benchmark::BenchmarkReporter> gBenchmarkReporter;
49 benchmark::BenchmarkReporter* reporter);
136 gBenchmarkReporter.reset(new benchmark::ConsoleReporter());
138 gBenchmarkReporter.reset(new benchmark::JSONReporter());
140 gBenchmarkReporter.reset(new benchmark::CSVReporter());
311 gBenchmarkReporter.reset(new benchmark::ConsoleReporter());
322 benchmark::BenchmarkReporter::Context context;
323 context.num_cpus = benchmark
[all...]
H A DTestSceneRunner.cpp25 #include <benchmark/benchmark.h>
67 benchmark::BenchmarkReporter* reporter, RenderProxy* proxy,
69 using namespace benchmark;
114 benchmark::BenchmarkReporter* reporter) {

Completed in 798 milliseconds

12