clang-format bindings_perftest.cc.
TBR=vardhan@google.com
Review URL: https://codereview.chromium.org/2250143002 .
Cr-Mirrored-From: https://github.com/domokit/mojo
Cr-Mirrored-Commit: 9fab45e6dd8bcfecc4b5c13c52446b2047b71e25
diff --git a/cpp/bindings/tests/bindings_perftest.cc b/cpp/bindings/tests/bindings_perftest.cc
index 7cbde8a..11b92ba 100644
--- a/cpp/bindings/tests/bindings_perftest.cc
+++ b/cpp/bindings/tests/bindings_perftest.cc
@@ -50,8 +50,7 @@
};
PingPongTest::PingPongTest(test::PingServicePtr service)
- : service_(service.Pass()) {
-}
+ : service_(service.Pass()) {}
void PingPongTest::Run(unsigned int iterations) {
iterations_to_run_ = iterations;
@@ -72,9 +71,7 @@
}
struct BoundPingService {
- BoundPingService() : binding(&impl) {
- binding.Bind(GetProxy(&service));
- }
+ BoundPingService() : binding(&impl) { binding.Bind(GetProxy(&service)); }
PingServiceImpl impl;
test::PingServicePtr service;
@@ -97,10 +94,9 @@
const MojoTimeTicks start_time = MojoGetTimeTicksNow();
test.Run(kIterations);
const MojoTimeTicks end_time = MojoGetTimeTicksNow();
- test::LogPerfResult(
- "InProcessPingPong", "0_Inactive",
- kIterations / MojoTicksToSeconds(end_time - start_time),
- "pings/second");
+ test::LogPerfResult("InProcessPingPong", "0_Inactive",
+ kIterations / MojoTicksToSeconds(end_time - start_time),
+ "pings/second");
}
{
@@ -112,10 +108,9 @@
const MojoTimeTicks start_time = MojoGetTimeTicksNow();
test.Run(kIterations);
const MojoTimeTicks end_time = MojoGetTimeTicksNow();
- test::LogPerfResult(
- "InProcessPingPong", "1000_Inactive",
- kIterations / MojoTicksToSeconds(end_time - start_time),
- "pings/second");
+ test::LogPerfResult("InProcessPingPong", "1000_Inactive",
+ kIterations / MojoTicksToSeconds(end_time - start_time),
+ "pings/second");
delete[] inactive_services;
}