diff options
author | Vijay Pai <vpai@google.com> | 2015-04-13 13:07:36 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-04-13 13:07:36 -0700 |
commit | 0310f13fd95e44ba95b2424caea33be513681d57 (patch) | |
tree | f43a22164f5963f94871c12e60c207b70f478cb2 /test/core/profiling | |
parent | 9cccb08311ea969ac018a781a2fe4a0f09a7cc8b (diff) |
clang-format results
Diffstat (limited to 'test/core/profiling')
-rw-r--r-- | test/core/profiling/timers_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/core/profiling/timers_test.c b/test/core/profiling/timers_test.c index b7219d7859..55e59c969e 100644 --- a/test/core/profiling/timers_test.c +++ b/test/core/profiling/timers_test.c @@ -38,7 +38,7 @@ void test_log_events(int num_seqs) { int start = 0; int *state; - state = calloc(num_seqs,sizeof(state[0])); + state = calloc(num_seqs, sizeof(state[0])); while (start < num_seqs) { int i; int row; @@ -48,10 +48,10 @@ void test_log_events(int num_seqs) { } row = rand() % 10; /* how many in a row */ - for (i = start; (i < start+row) && (i < num_seqs); i++) { + for (i = start; (i < start + row) && (i < num_seqs); i++) { int j; int advance = 1 + rand() % 3; /* how many to advance by */ - for (j=0; j<advance; j++) { + for (j = 0; j < advance; j++) { switch (state[i]) { case 0: GRPC_TIMER_MARK(STATE_0, i); |