aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/limit_cores.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/qps/limit_cores.h')
-rw-r--r--test/cpp/qps/limit_cores.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cpp/qps/limit_cores.h b/test/cpp/qps/limit_cores.h
index 54c805216c..5467f3b881 100644
--- a/test/cpp/qps/limit_cores.h
+++ b/test/cpp/qps/limit_cores.h
@@ -38,7 +38,10 @@
namespace grpc {
namespace testing {
-int LimitCores(std::vector<int> core_vec);
+// LimitCores takes array and size arguments (instead of vector) for more direct
+// conversion from repeated field of protobuf. Use a cores_size of 0 to remove
+// existing limits (from an empty repeated field)
+int LimitCores(const int *cores, int cores_size);
} // namespace testing
} // namespace grpc