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

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

Merge "binderRpcBenchmark: repeatBinder kernel binder" am: 3c2f9023 am: f3c49f38 am: 13e0a6a2

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

Change-Id: I8b05d11d89c24565da1299fec53d7464e8cf9d01
parents 478cad84 13e0a6a2
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);