| /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 | 46 benchmark::DoNotOptimize(vec); in benchmarkFunctionForVector() 47 benchmark::DoNotOptimize(resultInt); in benchmarkFunctionForVector() 59 benchmark::DoNotOptimize(vec); in benchmarkStdFillForVector() 60 benchmark::DoNotOptimize(resultInt); in benchmarkStdFillForVector() 64 void benchmarkUpdateKeyValueContainer(benchmark::State& state) { in benchmarkUpdateKeyValueContainer() 82 benchmark::DoNotOptimize(result); in benchmarkUpdateKeyValueContainer() 83 benchmark::ClobberMemory(); in benchmarkUpdateKeyValueContainer() 89 static void BM_BasicVectorBoolUsage(benchmark::State& state) { in BM_BasicVectorBoolUsage() 99 static void BM_VectorBoolStdFill(benchmark::State& state) { in BM_VectorBoolStdFill() 109 static void BM_BasicVectorInt8Usage(benchmark::State& state) { in BM_BasicVectorInt8Usage() [all …]
|
| 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 | tex_metric_benchmark.cpp | 102 void testScenario(benchmark::State& state, sp<StatsLogProcessor>& processor) { in testScenario() 112 benchmark::DoNotOptimize(processor); in testScenario() 122 void BM_TexCounter(benchmark::State& state) { in BM_TexCounter() 131 void BM_TexCounterAsValueMetric(benchmark::State& state) { in BM_TexCounterAsValueMetric() 140 void BM_TexCounterAsCountMetric(benchmark::State& state) { in BM_TexCounterAsCountMetric()
|
| D | on_log_event_benchmark.cpp | 26 static void BM_OnLogEvent(benchmark::State& state) { in BM_OnLogEvent() 60 static void BM_EventMatcherWizard(benchmark::State& state) { in BM_EventMatcherWizard() 90 benchmark::DoNotOptimize(eventMatcherWizard->matchLogEvent(*event, whatMatcherIndex)); in BM_EventMatcherWizard()
|
| D | loss_info_container_benchmark.cpp | 158 static void BM_LossInfoCollectionAndDumpViaVector(benchmark::State& state) { in BM_LossInfoCollectionAndDumpViaVector() 167 benchmark::DoNotOptimize(res); in BM_LossInfoCollectionAndDumpViaVector() 188 static void BM_LossInfoCollectionAndDumpViaUnorderedMap(benchmark::State& state) { in BM_LossInfoCollectionAndDumpViaUnorderedMap() 197 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 | get_dimensions_for_condition_benchmark.cpp | 61 static void BM_GetDimensionInCondition(benchmark::State& state) { in BM_GetDimensionInCondition()
|
| /packages/modules/StatsD/statsd/ |
| D | Android.bp | 492 // statsd micro benchmark 500 "benchmark/data_structures_benchmark.cpp", 501 "benchmark/db_benchmark.cpp", 502 "benchmark/duration_metric_benchmark.cpp", 503 "benchmark/filter_value_benchmark.cpp", 504 "benchmark/get_dimensions_for_condition_benchmark.cpp", 505 "benchmark/hello_world_benchmark.cpp", 506 "benchmark/log_event_benchmark.cpp", 507 "benchmark/log_event_filter_benchmark.cpp", 508 "benchmark/loss_info_container_benchmark.cpp", [all …]
|
| /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/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() 40 void TearDown(State& st) override { 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/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; 68 class BM_ThreadPerformance : public ::benchmark::Fixture { 71 benchmark::Fixture::SetUp(st); in SetUp() 81 benchmark::Fixture::TearDown(st); in TearDown() 417 ::benchmark::Initialize(&argc, argv); in main() 418 if (::benchmark::ReportUnrecognizedArguments(argc, argv)) { in main() 421 ::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()
|