summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-04-04 23:08:03 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-04-04 23:08:03 +0000
commit14443fdcab31276ae11684981bf4bb055e3bffdc (patch)
tree0c95dfce00a12073fe39412bd6d5bc3c231f6056 /vespalib
parent416ff1764ce98954b3b15fcae0f6a50d76b38323 (diff)
Also allow for testing of the adaptive task executor.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/util/executor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/util/executor.h b/vespalib/src/vespa/vespalib/util/executor.h
index 97cde4ffbe2..a412832ecaf 100644
--- a/vespalib/src/vespa/vespalib/util/executor.h
+++ b/vespalib/src/vespa/vespalib/util/executor.h
@@ -23,7 +23,7 @@ public:
virtual ~Task() {}
};
- enum class OptimizeFor {LATENCY, THROUGHPUT};
+ enum class OptimizeFor {LATENCY, THROUGHPUT, ADAPTIVE};
/**
* Execute the given task using one of the internal threads some