aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h')
-rw-r--r--staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h b/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h
index 4e0388caf8a..fdcdf35fbbb 100644
--- a/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h
+++ b/staging_vespalib/src/vespa/vespalib/util/adaptive_sequenced_executor.h
@@ -22,8 +22,7 @@ namespace vespalib {
class AdaptiveSequencedExecutor : public ISequencedTaskExecutor
{
private:
- using Stats = vespalib::ExecutorStats;
- using Task = vespalib::Executor::Task;
+ using Task = Executor::Task;
struct TaggedTask {
Task::UP task;
@@ -128,7 +127,7 @@ private:
vespalib::ArrayQueue<Worker*> _worker_stack;
EventBarrier<BarrierCompletion> _barrier;
Self _self;
- Stats _stats;
+ ExecutorStats _stats;
Config _cfg;
void maybe_block_self(std::unique_lock<std::mutex> &lock);
@@ -147,7 +146,7 @@ public:
void executeTask(ExecutorId id, Task::UP task) override;
void sync() override;
void setTaskLimit(uint32_t task_limit) override;
- vespalib::ExecutorStats getStats() override;
+ ExecutorStats getStats() override;
Config get_config() const;
};