aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-11-13 08:02:35 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2017-11-13 08:02:35 -0800
commit40737d67ee93f3c60be1f0ff6486d6f045646312 (patch)
treefa41a4f70bc29d45be6cb8f532d71cb9525019f0 /test/cpp/microbenchmarks
parent396d26539af8ce8ff8b737b574800ab814f0e625 (diff)
Add error string to recv status API
Diffstat (limited to 'test/cpp/microbenchmarks')
-rw-r--r--test/cpp/microbenchmarks/bm_error.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/microbenchmarks/bm_error.cc b/test/cpp/microbenchmarks/bm_error.cc
index 56b80dfcf6..955cdf5a17 100644
--- a/test/cpp/microbenchmarks/bm_error.cc
+++ b/test/cpp/microbenchmarks/bm_error.cc
@@ -253,7 +253,7 @@ static void BM_ErrorGetStatus(benchmark::State& state) {
grpc_status_code status;
grpc_slice slice;
grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(),
- &status, &slice, NULL);
+ &status, &slice, NULL, NULL);
}
grpc_exec_ctx_finish(&exec_ctx);
track_counters.Finish(state);
@@ -267,7 +267,7 @@ static void BM_ErrorGetStatusCode(benchmark::State& state) {
while (state.KeepRunning()) {
grpc_status_code status;
grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(),
- &status, NULL, NULL);
+ &status, NULL, NULL, NULL);
}
grpc_exec_ctx_finish(&exec_ctx);
track_counters.Finish(state);
@@ -281,7 +281,7 @@ static void BM_ErrorHttpError(benchmark::State& state) {
while (state.KeepRunning()) {
grpc_http2_error_code error;
grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(), NULL,
- NULL, &error);
+ NULL, &error, NULL);
}
grpc_exec_ctx_finish(&exec_ctx);
track_counters.Finish(state);