aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp b/staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp
index 7fba68e2092..803ec4f3f7c 100644
--- a/staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp
+++ b/staging_vespalib/src/vespa/vespalib/util/singleexecutor.cpp
@@ -158,13 +158,13 @@ SingleExecutor::wait_for_room(Lock & lock) {
}
}
-ThreadExecutor::Stats
+ExecutorStats
SingleExecutor::getStats() {
Lock lock(_mutex);
uint64_t accepted = _wp.load(std::memory_order_relaxed);
- Stats stats(_queueSize, (accepted - _lastAccepted), 0);
+ ExecutorStats stats(_queueSize, (accepted - _lastAccepted), 0);
_lastAccepted = accepted;
- _queueSize = Stats::QueueSizeT() ;
+ _queueSize = ExecutorStats::QueueSizeT() ;
return stats;
}