From bf78f63a119157e9babd5bb121f539fc9dc42f75 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Thu, 10 Apr 2025 11:40:32 +0800 Subject: [PATCH] [fix](timer) Fix task execution timer --- be/src/pipeline/pipeline_task.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/be/src/pipeline/pipeline_task.cpp b/be/src/pipeline/pipeline_task.cpp index 7aca64bf09d748..8ebf22494f980f 100644 --- a/be/src/pipeline/pipeline_task.cpp +++ b/be/src/pipeline/pipeline_task.cpp @@ -408,10 +408,12 @@ Status PipelineTask::execute(bool* done) { } }); + SCOPED_RAW_TIMER(&time_spent); RETURN_IF_ERROR(_open()); } while (!fragment_context->is_canceled()) { + SCOPED_RAW_TIMER(&time_spent); Defer defer {[&]() { // If this run is pended by a spilling request, the block will be output in next run. if (!_spilling) {