/packages/modules/StatsD/statsd/benchmark/ |
D | log_event_benchmark.cpp | 58 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 …]
|
D | data_structures_benchmark.cpp | 42 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()
|
D | string_transform_benchmark.cpp | 44 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()
|
D | log_event_filter_benchmark.cpp | 80 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()
|
D | stats_write_benchmark.cpp | 24 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()
|
D | loss_info_container_benchmark.cpp | 172 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()
|
D | db_benchmark.cpp | 28 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()
|
D | hello_world_benchmark.cpp | 18 static void BM_StringCreation(benchmark::State& state) { in BM_StringCreation() 25 static void BM_StringCopy(benchmark::State& state) { in BM_StringCopy()
|
D | value_metric_benchmark.cpp | 55 void BM_ValueMetricPushedDiffedViaStatsLogProcessor(benchmark::State& state) { in BM_ValueMetricPushedDiffedViaStatsLogProcessor() 68 void BM_ValueMetricPushedDiffedViaNumericValueMetricProducer(benchmark::State& state) { in BM_ValueMetricPushedDiffedViaNumericValueMetricProducer()
|
D | filter_value_benchmark.cpp | 54 static void BM_FilterValue(benchmark::State& state) { in BM_FilterValue()
|
D | on_log_event_benchmark.cpp | 25 static void BM_OnLogEvent(benchmark::State& state) { in BM_OnLogEvent()
|
D | get_dimensions_for_condition_benchmark.cpp | 61 static void BM_GetDimensionInCondition(benchmark::State& state) { in BM_GetDimensionInCondition()
|
/packages/modules/Bluetooth/system/gd/ |
D | benchmark.cc | 20 ::benchmark::Initialize(&argc, argv); in main() 21 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) { in main() 24 ::benchmark::RunSpecifiedBenchmarks(); in main()
|
/packages/modules/StatsD/statsd/ |
D | Android.bp | 463 // 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/ |
D | thread_benchmark.cc | 26 using ::benchmark::State; 33 class BM_ThreadPerformance : public ::benchmark::Fixture { 36 benchmark::Fixture::SetUp(st); in SetUp() 41 benchmark::Fixture::TearDown(st); in TearDown()
|
D | alarm_benchmark.cc | 27 using ::benchmark::State; 34 class BM_ReactableAlarm : public ::benchmark::Fixture { 37 ::benchmark::Fixture::SetUp(st); in SetUp() 56 ::benchmark::Fixture::TearDown(st); in TearDown()
|
D | queue_benchmark.cc | 24 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/ |
D | libs.versions.toml | 28 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/ |
D | transport_benchmark.cpp | 55 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/ |
D | thread_performance_benchmark.cc | 33 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/ |
D | StorageManagerCompat.java | 100 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/ |
D | IoVsockHostNative.java | 17 package com.android.microdroid.benchmark;
|
D | BenchmarkVmListener.java | 17 package com.android.microdroid.benchmark;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageService.java | 146 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/ |
D | SettingsStorageServiceTest.java | 165 doReturn(123L).when(mMockStorageManager).benchmark("private"); in testFormatAsPrivate_success() 166 doReturn(456L).when(mMockStorageManager).benchmark("jkl;"); in testFormatAsPrivate_success()
|