| commit | 8a0ef63dea1546a04fd00c6be7f4f223e3e559f1 | [log] [tgz] |
|---|---|---|
| author | Alexander Polcyn <apolcyn@google.com> | Wed Jan 11 13:52:01 2017 -0800 |
| committer | Alexander Polcyn <apolcyn@google.com> | Wed Jan 11 13:52:01 2017 -0800 |
| tree | f3773fa6fc61de30a537fe35098329a1e8976c5a | |
| parent | a6e796f58f691ae130fe6e3b8ed746d67e189d79 [diff] [blame] |
remove LimitCores in c++ benchmark
diff --git a/test/cpp/qps/server.h b/test/cpp/qps/server.h index c3d18e5..5f4c34c 100644 --- a/test/cpp/qps/server.h +++ b/test/cpp/qps/server.h
@@ -51,7 +51,7 @@ class Server { public: explicit Server(const ServerConfig& config) : timer_(new UsageTimer) { - cores_ = LimitCores(config.core_list().data(), config.core_list_size()); + cores_ = gpr_cpu_num_cores(); if (config.port()) { port_ = config.port();