Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3c49f38 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "binderRpcBenchmark: repeatBinder kernel binder" am: 3c2f9023

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1793127

Change-Id: I36ed6a841a414a9a4c64ad1a7b82b4c78fc0dd85
parents 106e242f 3c2f9023
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ BENCHMARK(BM_throughputForTransportAndBytes)
                       {64, 1024, 2048, 4096, 8182, 16364, 32728, 65535, 65536, 65537}});

void BM_repeatBinder(benchmark::State& state) {
    sp<IBinder> binder = gSession->getRootObject();
    sp<IBinder> binder = getBinderForOptions(state);
    CHECK(binder != nullptr);
    sp<IBinderRpcBenchmark> iface = interface_cast<IBinderRpcBenchmark>(binder);
    CHECK(iface != nullptr);