aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-10-22 09:25:39 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-10-22 09:25:39 +0000
commit2aff6c0940effc2e500db9e989e5fd833ddd6079 (patch)
tree77ae5f1fc1e749a22a98c6e8aabc79025d24c7f1 /staging_vespalib
parent720e14be4da9613ed8fda193bf2571a2f163d6a1 (diff)
Rename executorCount -> threadCount
Diffstat (limited to 'staging_vespalib')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp b/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp
index 7681af43afc..5283ba5150e 100644
--- a/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp
@@ -334,7 +334,7 @@ AdaptiveSequencedExecutor::getStats()
{
auto guard = std::lock_guard(_mutex);
ExecutorStats stats = _stats;
- stats.executorCount = _cfg.num_threads;
+ stats.threadCount = _cfg.num_threads;
steady_time now = steady_clock::now();
for (size_t i(0); i < _worker_stack.size(); i++) {
_idleTracker.was_idle(_worker_stack.access(i)->idleTracker.reset(now));