Benchmarks: move common logic into 'Bench' namespace
It's better not to polute the global namespace with helper functions.
Create the 'Bench' ns and move the functionality there.
Utilize 'inline' to solve ODR uniformly, instead of mixing it with the
static keyword.
Add includes that were missing previously, so that we follow IWYU more
closely.
Pick-to: 6.11
Change-Id: I0fe6f83c268a47f83f3e182965999f9f2e3e57f8
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
| commit | 483be2dbb62d1b4434ca667e926db19c1cbace4b |
| parent | 7b9d72844173690fd1f2c99d186c7134eaefc4ac |
| author | Dennis Oberst <dennis.oberst@qt.io> |
| committer | Dennis Oberst <dennis.oberst@qt.io> |
| commit time | Thu, 26 Mar 2026 11:42:19 +0100 |
- M tests/manual/grpc/benchmarks/asyncbenchserver/asyncbenchserver.cpp
- M tests/manual/grpc/benchmarks/asyncbenchserver/rpcjobs.h
- M tests/manual/grpc/benchmarks/bench_async_ref_client/bench_async_ref_client.cpp
- M tests/manual/grpc/benchmarks/bench_qtgrpcclient/bench_qtgrpcclient.cpp
- M tests/manual/grpc/benchmarks/qrpcbench_common.h