diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-10-22 09:25:39 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-10-22 09:25:39 +0000 |
commit | 2aff6c0940effc2e500db9e989e5fd833ddd6079 (patch) | |
tree | 77ae5f1fc1e749a22a98c6e8aabc79025d24c7f1 /staging_vespalib | |
parent | 720e14be4da9613ed8fda193bf2571a2f163d6a1 (diff) |
Rename executorCount -> threadCount
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.cpp | 2 |
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)); |