This is an automated email from the ASF dual-hosted git repository. yiguolei pushed a commit to branch branch-1.2-lts in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push: new 96d7b37f32 [fix] total_time of select_node.cpp and vselect_node.cpp not include the open phase (#20655) 96d7b37f32 is described below commit 96d7b37f325a1e6ff1784fbb524e6ccb90cfd179 Author: nsn_huang <38585669+nsnhu...@users.noreply.github.com> AuthorDate: Mon Jun 12 09:10:36 2023 +0800 [fix] total_time of select_node.cpp and vselect_node.cpp not include the open phase (#20655) Co-authored-by: huangwenbo <nsnhu...@163.com>add SCOPED_TIMER at the begin of select_node's open function --- be/src/exec/select_node.cpp | 1 + be/src/vec/exec/vselect_node.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/be/src/exec/select_node.cpp b/be/src/exec/select_node.cpp index 81574ac9cc..511f6c214f 100644 --- a/be/src/exec/select_node.cpp +++ b/be/src/exec/select_node.cpp @@ -41,6 +41,7 @@ Status SelectNode::prepare(RuntimeState* state) { } Status SelectNode::open(RuntimeState* state) { + SCOPED_TIMER(_runtime_profile->total_time_counter()); RETURN_IF_ERROR(ExecNode::open(state)); SCOPED_CONSUME_MEM_TRACKER(mem_tracker()); RETURN_IF_ERROR(child(0)->open(state)); diff --git a/be/src/vec/exec/vselect_node.cpp b/be/src/vec/exec/vselect_node.cpp index 8f561f10a0..a0e84e9abd 100644 --- a/be/src/vec/exec/vselect_node.cpp +++ b/be/src/vec/exec/vselect_node.cpp @@ -33,6 +33,7 @@ Status VSelectNode::prepare(RuntimeState* state) { Status VSelectNode::open(RuntimeState* state) { START_AND_SCOPE_SPAN(state->get_tracer(), span, "VSelectNode::open"); + SCOPED_TIMER(_runtime_profile->total_time_counter()); RETURN_IF_ERROR(ExecNode::open(state)); RETURN_IF_ERROR(child(0)->open(state)); return Status::OK(); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org