Skip to content

Commit

Permalink
[opt](profile) Add WaitWorkerTime into MergedProfile of pipeline task (
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiang-hhhh authored Nov 10, 2024
1 parent 3e142d8 commit 9c66acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/pipeline/pipeline_task.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void PipelineTask::_init_profile() {
_sink_timer = ADD_CHILD_TIMER(_task_profile, "SinkTime", exec_time);
_close_timer = ADD_CHILD_TIMER(_task_profile, "CloseTime", exec_time);

_wait_worker_timer = ADD_TIMER(_task_profile, "WaitWorkerTime");
_wait_worker_timer = ADD_TIMER_WITH_LEVEL(_task_profile, "WaitWorkerTime", 1);

_schedule_counts = ADD_COUNTER(_task_profile, "NumScheduleTimes", TUnit::UNIT);
_yield_counts = ADD_COUNTER(_task_profile, "NumYieldTimes", TUnit::UNIT);
Expand Down

0 comments on commit 9c66acd

Please sign in to comment.