Home
last modified time | relevance | path

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

12

/packages/modules/StatsD/statsd/benchmark/
Dlog_event_benchmark.cpp58 static void BM_LogEventCreation(benchmark::State& state) { in BM_LogEventCreation()
63 benchmark::DoNotOptimize(event.parseBuffer(msg, size)); in BM_LogEventCreation()
68 static void BM_LogEventCreationWithPrefetch(benchmark::State& state) { in BM_LogEventCreationWithPrefetch()
78 benchmark::DoNotOptimize(event.parseBody(header)); in BM_LogEventCreationWithPrefetch()
83 static void BM_LogEventCreationWithPrefetchOnly(benchmark::State& state) { in BM_LogEventCreationWithPrefetchOnly()
90 benchmark::DoNotOptimize(event.parseHeader(msg, size)); in BM_LogEventCreationWithPrefetchOnly()
95 static void BM_LogEventCreationMedium(benchmark::State& state) { in BM_LogEventCreationMedium()
101 benchmark::DoNotOptimize(event.parseBuffer(msg, size)); in BM_LogEventCreationMedium()
106 static void BM_LogEventCreationMediumWithPrefetch(benchmark::State& state) { in BM_LogEventCreationMediumWithPrefetch()
116 benchmark::DoNotOptimize(event.parseBody(header)); in BM_LogEventCreationMediumWithPrefetch()
[all …]
Ddata_structures_benchmark.cpp42 benchmark::DoNotOptimize(vec); in benchmarkFunctionForVector()
43 benchmark::DoNotOptimize(resultInt); in benchmarkFunctionForVector()
55 benchmark::DoNotOptimize(vec); in benchmarkStdFillForVector()
56 benchmark::DoNotOptimize(resultInt); in benchmarkStdFillForVector()
61 static void BM_BasicVectorBoolUsage(benchmark::State& state) { in BM_BasicVectorBoolUsage()
71 static void BM_VectorBoolStdFill(benchmark::State& state) { in BM_VectorBoolStdFill()
81 static void BM_BasicVectorInt8Usage(benchmark::State& state) { in BM_BasicVectorInt8Usage()
91 static void BM_VectorInt8StdFill(benchmark::State& state) { in BM_VectorInt8StdFill()
Dstring_transform_benchmark.cpp44 static void BM_RemoveTrailingCharacters(benchmark::State& state) { in BM_RemoveTrailingCharacters()
52 benchmark::DoNotOptimize(str); in BM_RemoveTrailingCharacters()
57 static void BM_RemoveTrailingNumbers(benchmark::State& state) { in BM_RemoveTrailingNumbers()
64 benchmark::DoNotOptimize(str); in BM_RemoveTrailingNumbers()
69 static void BM_RemoveTrailingNumbersCppRegex(benchmark::State& state) { in BM_RemoveTrailingNumbersCppRegex()
76 benchmark::DoNotOptimize(regex_replace(str, re, "")); in BM_RemoveTrailingNumbersCppRegex()
81 static void BM_RemoveTrailingNumbersCRegex(benchmark::State& state) { in BM_RemoveTrailingNumbersCRegex()
88 benchmark::DoNotOptimize(re->replace(str, "")); in BM_RemoveTrailingNumbersCRegex()
Dlog_event_filter_benchmark.cpp80 static void BM_LogEventFilterUnorderedSet(benchmark::State& state) { in BM_LogEventFilterUnorderedSet()
87 benchmark::DoNotOptimize(eventFilter.isAtomInUse(atomId)); in BM_LogEventFilterUnorderedSet()
93 static void BM_LogEventFilterUnorderedSet2Consumers(benchmark::State& state) { in BM_LogEventFilterUnorderedSet2Consumers()
103 benchmark::DoNotOptimize(eventFilter.isAtomInUse(atomId)); in BM_LogEventFilterUnorderedSet2Consumers()
109 static void BM_LogEventFilterSet(benchmark::State& state) { in BM_LogEventFilterSet()
116 benchmark::DoNotOptimize(eventFilter.isAtomInUse(atomId)); in BM_LogEventFilterSet()
122 static void BM_LogEventFilterSet2Consumers(benchmark::State& state) { in BM_LogEventFilterSet2Consumers()
132 benchmark::DoNotOptimize(eventFilter.isAtomInUse(atomId)); in BM_LogEventFilterSet2Consumers()
Dstats_write_benchmark.cpp24 static void BM_StatsEventObtain(benchmark::State& state) { in BM_StatsEventObtain()
27 benchmark::DoNotOptimize(event); in BM_StatsEventObtain()
33 static void BM_StatsWrite(benchmark::State& state) { in BM_StatsWrite()
43 static void BM_StatsWriteViaQueue(benchmark::State& state) { in BM_StatsWriteViaQueue()
49 benchmark::DoNotOptimize( in BM_StatsWriteViaQueue()
Dloss_info_container_benchmark.cpp172 static void BM_LossInfoCollectionAndDumpViaVector(benchmark::State& state) { in BM_LossInfoCollectionAndDumpViaVector()
181 benchmark::DoNotOptimize(res); in BM_LossInfoCollectionAndDumpViaVector()
202 static void BM_LossInfoCollectionAndDumpViaUnorderedMap(benchmark::State& state) { in BM_LossInfoCollectionAndDumpViaUnorderedMap()
211 benchmark::DoNotOptimize(res); in BM_LossInfoCollectionAndDumpViaUnorderedMap()
Ddb_benchmark.cpp28 static void BM_insertAtomsIntoDbTablesNewConnection(benchmark::State& state) { in BM_insertAtomsIntoDbTablesNewConnection()
60 static void BM_insertAtomsIntoDbTablesReuseConnection(benchmark::State& state) { in BM_insertAtomsIntoDbTablesReuseConnection()
94 static void BM_createDbTables(benchmark::State& state) { in BM_createDbTables()
Dhello_world_benchmark.cpp18 static void BM_StringCreation(benchmark::State& state) { in BM_StringCreation()
25 static void BM_StringCopy(benchmark::State& state) { in BM_StringCopy()
Dvalue_metric_benchmark.cpp55 void BM_ValueMetricPushedDiffedViaStatsLogProcessor(benchmark::State& state) { in BM_ValueMetricPushedDiffedViaStatsLogProcessor()
68 void BM_ValueMetricPushedDiffedViaNumericValueMetricProducer(benchmark::State& state) { in BM_ValueMetricPushedDiffedViaNumericValueMetricProducer()
Dfilter_value_benchmark.cpp54 static void BM_FilterValue(benchmark::State& state) { in BM_FilterValue()
Don_log_event_benchmark.cpp25 static void BM_OnLogEvent(benchmark::State& state) { in BM_OnLogEvent()
Dget_dimensions_for_condition_benchmark.cpp61 static void BM_GetDimensionInCondition(benchmark::State& state) { in BM_GetDimensionInCondition()
/packages/modules/Bluetooth/system/gd/
Dbenchmark.cc20 ::benchmark::Initialize(&argc, argv); in main()
21 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) { in main()
24 ::benchmark::RunSpecifiedBenchmarks(); in main()
/packages/modules/StatsD/statsd/
DAndroid.bp463 // statsd micro benchmark
471 "benchmark/data_structures_benchmark.cpp",
472 "benchmark/db_benchmark.cpp",
473 "benchmark/duration_metric_benchmark.cpp",
474 "benchmark/filter_value_benchmark.cpp",
475 "benchmark/get_dimensions_for_condition_benchmark.cpp",
476 "benchmark/hello_world_benchmark.cpp",
477 "benchmark/log_event_benchmark.cpp",
478 "benchmark/log_event_filter_benchmark.cpp",
479 "benchmark/main.cpp",
[all …]
/packages/modules/Bluetooth/system/gd/os/
Dthread_benchmark.cc26 using ::benchmark::State;
33 class BM_ThreadPerformance : public ::benchmark::Fixture {
36 benchmark::Fixture::SetUp(st); in SetUp()
41 benchmark::Fixture::TearDown(st); in TearDown()
Dalarm_benchmark.cc27 using ::benchmark::State;
34 class BM_ReactableAlarm : public ::benchmark::Fixture {
37 ::benchmark::Fixture::SetUp(st); in SetUp()
56 ::benchmark::Fixture::TearDown(st); in TearDown()
Dqueue_benchmark.cc24 using ::benchmark::State;
29 class BM_QueuePerformance : public ::benchmark::Fixture {
32 ::benchmark::Fixture::SetUp(st); in SetUp()
48 benchmark::Fixture::TearDown(st); in TearDown()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/gradle/
Dlibs.versions.toml28 androidx-benchmark = "1.2.3"
83 androidx-benchmark-macro = { module = "androidx.benchmark:benchmark-macro", version.ref = "androidx…
84 androidx-benchmark-common = { module = "androidx.benchmark:benchmark-common", version.ref = "androi…
/packages/modules/adb/
Dtransport_benchmark.cpp55 void BM_Connection_Unidirectional(benchmark::State& state) { in BM_Connection_Unidirectional()
110 void BM_Connection_Echo(benchmark::State& state) { in BM_Connection_Echo()
191 ::benchmark::Initialize(&argc, argv); in main()
192 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) return 1; in main()
193 ::benchmark::RunSpecifiedBenchmarks(); in main()
/packages/modules/Bluetooth/system/common/benchmark/
Dthread_performance_benchmark.cc33 using ::benchmark::State;
71 class BM_ThreadPerformance : public ::benchmark::Fixture {
74 benchmark::Fixture::SetUp(st); in SetUp()
84 benchmark::Fixture::TearDown(st); in TearDown()
429 ::benchmark::Initialize(&argc, argv); in main()
430 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) { in main()
433 ::benchmark::RunSpecifiedBenchmarks(); in main()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DStorageManagerCompat.java100 public long benchmark(String volId) { in benchmark() method in StorageManagerCompat
101 return mManager.benchmark(volId); in benchmark()
/packages/modules/Virtualization/tests/benchmark/src/java/com/android/microdroid/benchmark/
DIoVsockHostNative.java17 package com.android.microdroid.benchmark;
DBenchmarkVmListener.java17 package com.android.microdroid.benchmark;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java146 final long internalBench = storageManager.benchmark("private"); in formatAsPrivate()
151 privateBench = storageManager.benchmark(privateVol.getId()); in formatAsPrivate()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DSettingsStorageServiceTest.java165 doReturn(123L).when(mMockStorageManager).benchmark("private"); in testFormatAsPrivate_success()
166 doReturn(456L).when(mMockStorageManager).benchmark("jkl;"); in testFormatAsPrivate_success()

12