forked from iree-org/iree
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tune compiler tracing usage of 'frame's. (iree-org#15216)
Compiler tracing was a bit confusing when profiling to find iree-org#15209. First, this fixes an issue where frame frames were unbalanced upon recursing into the compiler, leading to confusing rendering in the Tracy UI that could misattribute sections of the compiler running to the "GlobalOptimization" pass pipeline: ![image](https://github.com/openxla/iree/assets/4010439/9407b54d-4e5f-4ed1-9232-4f870561ac48) Second, this tweaks how frames are defined for unnamed pipelines and adds a scope for bytecode translation (which happens outside of a pass pipeline): ![image](https://github.com/openxla/iree/assets/4010439/43cc02ba-e9e6-4a49-8ebe-972be2ca7106)
- Loading branch information
Showing
4 changed files
with
25 additions
and
7 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