-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
util/execdetails: refactor execdetails information of runtime collect #18530
Conversation
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
Signed-off-by: crazycs520 <[email protected]>
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #18530 +/- ##
===========================================
Coverage 79.7346% 79.7346%
===========================================
Files 541 541
Lines 147404 147404
===========================================
Hits 117532 117532
Misses 20499 20499
Partials 9373 9373 |
Signed-off-by: crazycs520 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
/run-all-tests |
@crazycs520 merge failed. |
/run-all-tests |
/run-check_dev_2 |
/run-integration-copr-test |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #18592 |
…#18530) (#18592) Signed-off-by: ti-srebot <[email protected]> Signed-off-by: crazycs520 <[email protected]>
What problem does this PR solve?
This PR refactor
execdetails
information of runtime collect. This will make it easy and efficient to add special runtime information for the separated executors.What is changed and how it works?
Before this PR, all executor runtime information was expressed by
execdetails.RuntimeStats
. But different executor maybe has different runtime information, then theexecdetails.RuntimeStats
becomes very huge and redundant.This PR use
execdetails.RuntimeStats
interface instead of ``execdetails.RuntimeStats` struct.Related changes
Check List
Tests
Side effects
Release note