From 895b7150fccfbaa5ebeb225399bfef0d7052174b Mon Sep 17 00:00:00 2001 From: HÃ¥vard Pettersen Date: Tue, 25 Jan 2022 13:58:18 +0000 Subject: tag match/summary engines with READ cpu usage tag llvm compilation tasks with SETUP cpu usage --- eval/src/vespa/eval/eval/llvm/compile_cache.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'eval') diff --git a/eval/src/vespa/eval/eval/llvm/compile_cache.cpp b/eval/src/vespa/eval/eval/llvm/compile_cache.cpp index 43ed724e010..9d0e921c502 100644 --- a/eval/src/vespa/eval/eval/llvm/compile_cache.cpp +++ b/eval/src/vespa/eval/eval/llvm/compile_cache.cpp @@ -2,6 +2,7 @@ #include "compile_cache.h" #include +#include #include namespace vespalib::eval { @@ -64,6 +65,7 @@ CompileCache::compile(const Function &function, PassParams pass_params) assert(res.second); token = std::make_unique(res.first, Token::ctor_tag()); task = std::make_unique(function, pass_params, res.first->second.result); + task = CpuUsage::wrap(std::move(task), CpuUsage::Category::SETUP); if (!_executor_stack.empty()) { executor = _executor_stack.back().second; } -- cgit v1.2.3