This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 6f89fae22cc [fix](profile) fix profile TotalTime is 0ns when pipeline
(#28048)
6f89fae22cc is described below
commit 6f89fae22cc4770ebadf9ecefedba8b96beffa3e
Author: xueweizhang <[email protected]>
AuthorDate: Thu Dec 7 10:30:41 2023 +0800
[fix](profile) fix profile TotalTime is 0ns when pipeline (#28048)
* [fix](profile) fix profile TotalTime is 0ns when pipeline
Signed-off-by: nextdreamblue <[email protected]>
* fix
Signed-off-by: nextdreamblue <[email protected]>
---------
Signed-off-by: nextdreamblue <[email protected]>
---
be/src/pipeline/pipeline_fragment_context.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/be/src/pipeline/pipeline_fragment_context.cpp
b/be/src/pipeline/pipeline_fragment_context.cpp
index 9f93808d377..b800e167bcc 100644
--- a/be/src/pipeline/pipeline_fragment_context.cpp
+++ b/be/src/pipeline/pipeline_fragment_context.cpp
@@ -879,6 +879,8 @@ void PipelineFragmentContext::_close_fragment_instance() {
}
Defer defer_op {[&]() { _is_fragment_instance_closed = true; }};
_runtime_profile->total_time_counter()->update(_fragment_watcher.elapsed_time());
+ _runtime_state->runtime_profile()->total_time_counter()->update(
+ _fragment_watcher.elapsed_time());
static_cast<void>(send_report(true));
// all submitted tasks done
_exec_env->fragment_mgr()->remove_pipeline_context(shared_from_this());
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]