-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for background cpu time stats (#6518)
Summary: Pull Request resolved: #6518 This change contains two parts: * Adds OperatorStats::backgroundTiming, a new metric for operators to report CPU time spent on background activities (activities that are not running on driver threads). * It's the responsibility of individual operators to report background CPU time at a reasonable time granularity, ideally in a lively manner. * Background CPU time reporting for the Exchange operator. * With this change, the Exchange operator now adds background CPU reporting to the existing logic for live reporting of metrics. * ExchangeClient is expected to report background CPU time as a runtime metric named "backgroundCpuTimeMs". Support for background CPU time reporting for other operators will follow in separate changes. Reviewed By: mbasmanova Differential Revision: D49155712 fbshipit-source-id: ea63f085d2a4310e9875eb21726751053eadd996
- Loading branch information
1 parent
ae6ae03
commit f26912e
Showing
8 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters