Skip to content

Add LLO analysis and query tools to xprof_cli.#2941

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_941814052
Open

Add LLO analysis and query tools to xprof_cli.#2941
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_941814052

Conversation

@copybara-service

Copy link
Copy Markdown

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:

  • 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.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants