aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h')
-rw-r--r--searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h b/searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h
index 5f7dfdf45b0..273c4ed8979 100644
--- a/searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h
+++ b/searchcore/src/vespa/searchcore/proton/metrics/executor_metrics.h
@@ -5,7 +5,7 @@
#include <vespa/metrics/metricset.h>
#include <vespa/metrics/countmetric.h>
#include <vespa/metrics/valuemetric.h>
-#include <vespa/vespalib/util/threadstackexecutorbase.h>
+#include <vespa/vespalib/util/executor_stats.h>
namespace proton {
@@ -16,7 +16,7 @@ struct ExecutorMetrics : metrics::MetricSet
metrics::LongCountMetric rejected;
metrics::LongAverageMetric queueSize;
- void update(const vespalib::ThreadStackExecutorBase::Stats &stats);
+ void update(const vespalib::ExecutorStats &stats);
ExecutorMetrics(const std::string &name, metrics::MetricSet *parent);
~ExecutorMetrics();
};