Skip to content

AIESW-28056: [XRT-SMI] Add preemption counters to aie partitions report#9762

Open
dkotipal-xilinx wants to merge 1 commit intoXilinx:masterfrom
dkotipal-xilinx:preemption_report_update
Open

AIESW-28056: [XRT-SMI] Add preemption counters to aie partitions report#9762
dkotipal-xilinx wants to merge 1 commit intoXilinx:masterfrom
dkotipal-xilinx:preemption_report_update

Conversation

@dkotipal-xilinx
Copy link
Copy Markdown
Collaborator

Problem solved by the commit

Add preemption counters to aie partitions report

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

AIESW-28056

How problem was solved, alternative solutions (if any) and why they were rejected

Risks (if any) associated the changes in the commit

What has been tested and how, request additional testing if necessary

run xxt-examine -r aie-partitions


xrt>xrt-smi examine -r aie-partitions

----------------------------
[00c5:00:01.1] : NPU Medusa
----------------------------
AIE Partitions
  Total Memory Usage: 13292 KB
  Partition Index   : 0
    Columns: [0, 1, 2]
    HW Contexts:
      |PID                 |Ctx ID     |Submissions |Migrations  |Frame Evts  |Err  |Priority |
      |Process Name        |Status     |Completions |Suspensions |Layer Evts  |     |GOPS     |
      |Memory Usage        |Instr BO   |            |            |            |     |FPS      |
      |                    |           |            |            |            |     |Latency  |
      |====================|===========|============|============|============|=====|=========|
      |7252                |25         |61          |0           |60          |0    |Normal   |
      |xrt-smi.exe         |Active     |60          |0           |30071       |     |N/A      |
      |13292 KB            |N/A        |            |            |            |     |N/A      |
      |                    |           |            |            |            |     |N/A      |
      |--------------------|-----------|------------|------------|------------|-----|---------|

Documentation impact (if any)

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

% hw_context.get<std::string>("latency"));

row_data.emplace_back(boost::format(" |--------------------|-----------|------------|------------|-----|---------|"));
row_data.emplace_back(boost::format(" |--------------------|-----------|------------|------------|------------|-----|---------|"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: unnecessary temporary object created while calling emplace_back [hicpp-use-emplace]

Suggested change
row_data.emplace_back(boost::format(" |--------------------|-----------|------------|------------|------------|-----|---------|"));
row_data.emplace_back(" |--------------------|-----------|------------|------------|------------|-----|---------|");

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.

1 participant