Add LLO analysis and query tools to xprof_cli.#2941
Open
copybara-service[bot] wants to merge 1 commit into
Open
Add LLO analysis and query tools to xprof_cli.#2941copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
This change adds the ability to parse LLO (Low Level Operator) events from XSpace TPU device planes and load them into a SQLite database for querying. This mirrors the analysis features of percale_cli. Specifically, this CL: - Implements llo_parser.py to extract LLO events (SALU, VALU, EUP, XLU, etc.) and stats, and populate a SQLite schema. - Implements llo_tools.py with llo_load and llo_query commands. - Registers the new commands in xprof_cli.py. - Adds comprehensive unit, integration, stress, and adversarial tests. - Adds README.md documenting the commands. PiperOrigin-RevId: 941814052
cd97cbe to
f6ed876
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add LLO analysis and query tools to xprof_cli.
This change adds the ability to parse LLO (Low Level Operator) events from
XSpace TPU device planes and load them into a SQLite database for querying.
This mirrors the analysis features of percale_cli.
Specifically, this CL: