diff options
-rw-r--r-- | vts/performance/Benchmark.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vts/performance/Benchmark.cpp b/vts/performance/Benchmark.cpp index f995ec7..87185f5 100644 --- a/vts/performance/Benchmark.cpp +++ b/vts/performance/Benchmark.cpp @@ -82,7 +82,6 @@ static void BM_sendVec(benchmark::State& state, sp<IBenchmark> service) { } static void BM_sendVec_passthrough(benchmark::State& state) { - // getService automatically retries sp<IBenchmark> service = IBenchmark::getService(gServiceName, true /* getStub */); if (service == nullptr) { state.SkipWithError("Failed to retrieve benchmark service."); @@ -94,7 +93,7 @@ static void BM_sendVec_passthrough(benchmark::State& state) { } static void BM_sendVec_binderize(benchmark::State& state) { - // getService automatically retries + android::hardware::details::waitForHwService(IBenchmark::descriptor, gServiceName); sp<IBenchmark> service = IBenchmark::getService(gServiceName); if (service == nullptr) { state.SkipWithError("Failed to retrieve benchmark service."); |