cct_benchmark: Group some params in a class

This is a pure refactor: no change in functionality.

Introduce a new POD LaunchInfo with immutable parameters coming into the
benchmark. This allows reducing the list of parameters in a few
functions passing these along the way, which would reduce plumbing
efforts required to introduce more parameters.

Hopefully the separation between LaunchInfo and CustomCallback is
intuitive and easy to operate.

Bug: 929926
Change-Id: I6e58daceb7b729cafdefed329d07d1e2a159e842
Commit-Queue: Egor Pasko <>
Reviewed-by: Benoit L <>
Cr-Original-Commit-Position: refs/heads/master@{#671642}
Cr-Mirrored-Commit: 0d3a56ffaaa77fbc4d9c7d6b302692ae234e1546
1 file changed