diff options
Diffstat (limited to 'test/core/network_benchmarks/low_level_ping_pong.cc')
-rw-r--r-- | test/core/network_benchmarks/low_level_ping_pong.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/core/network_benchmarks/low_level_ping_pong.cc b/test/core/network_benchmarks/low_level_ping_pong.cc index acd84aaa09..8aed0bccbd 100644 --- a/test/core/network_benchmarks/low_level_ping_pong.cc +++ b/test/core/network_benchmarks/low_level_ping_pong.cc @@ -594,8 +594,10 @@ static int run_all_benchmarks(size_t msg_size) { test_strategy *strategy = &test_strategies[i]; size_t j; for (j = 0; j < GPR_ARRAY_SIZE(socket_types); ++j) { - thread_args *client_args = static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); - thread_args *server_args = static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); + thread_args *client_args = + static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); + thread_args *server_args = + static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); char *socket_type = socket_types[j]; client_args->read_bytes = strategy->read_strategy; @@ -618,8 +620,10 @@ static int run_all_benchmarks(size_t msg_size) { } int main(int argc, char **argv) { - thread_args *client_args = static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); - thread_args *server_args = static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); + thread_args *client_args = + static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); + thread_args *server_args = + static_cast<thread_args *>(gpr_malloc(sizeof(thread_args))); int msg_size = -1; const char *read_strategy = NULL; const char *socket_type = NULL; |