tt-perf-report 1.1.4__py3-none-any.whl → 1.1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tt-perf-report might be problematic. Click here for more details.

@@ -891,6 +891,12 @@ def generate_stacked_report(rows, visible_headers, stack_by_input0_layout:bool =
891
891
 
892
892
  # Calculate the percentage of device time
893
893
  total_device_time = stacked_df["Device_Time_Sum_us"].sum()
894
+
895
+ if total_device_time != 0:
896
+ stacked_df["%"] = (stacked_df["Device_Time_Sum_us"] / total_device_time) * 100
897
+ else:
898
+ stacked_df["%"] = 0
899
+
894
900
  stacked_df["%"] = (stacked_df["Device_Time_Sum_us"] / total_device_time) * 100
895
901
  # Reorder columns to move Device_Time_Percentage to be the 3rd column
896
902
  cols = stacked_df.columns.tolist()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tt-perf-report
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: This tool analyzes performance traces from TT-Metal operations, providing insights into throughput, bottlenecks, and optimization opportunities.
5
5
  License: Apache License
6
6
  Version 2.0, January 2004
@@ -0,0 +1,9 @@
1
+ tt_perf_report/__init__.py,sha256=-j4iFYebIwgdS8uphk8-M6zasRqGBL3CQGnJH9keRuI,92
2
+ tt_perf_report/perf_report.py,sha256=Ziln0oeY7zQVUcVLaHwkh17taz6CGyR9r32Yd3PhKko,49951
3
+ tt_perf_report-1.1.5.dist-info/licenses/LICENSE,sha256=6dZGjPECz_ULS-sf40FLlt6OmQFcrRvmzG5mJRZCQ5I,11825
4
+ tt_perf_report-1.1.5.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
5
+ tt_perf_report-1.1.5.dist-info/METADATA,sha256=iGf6JsPN_wjHpDlSLC99Pso9J9Ez2x7wZHGK0JY-yR0,18393
6
+ tt_perf_report-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ tt_perf_report-1.1.5.dist-info/entry_points.txt,sha256=ReAziglcjbAkPbklqheUISkfoEVI5ptlFrBAJTIk5dI,67
8
+ tt_perf_report-1.1.5.dist-info/top_level.txt,sha256=mEQ-BK3rRbmz9QyWitTCLy2xwmC5rmJno_TY_H9s9CE,15
9
+ tt_perf_report-1.1.5.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- tt_perf_report/__init__.py,sha256=-j4iFYebIwgdS8uphk8-M6zasRqGBL3CQGnJH9keRuI,92
2
- tt_perf_report/perf_report.py,sha256=sVjqtFQhOdFpKYZ8_agxAgJqGNhostDjefW-RnFti1o,49785
3
- tt_perf_report-1.1.4.dist-info/licenses/LICENSE,sha256=6dZGjPECz_ULS-sf40FLlt6OmQFcrRvmzG5mJRZCQ5I,11825
4
- tt_perf_report-1.1.4.dist-info/licenses/LICENSE_understanding.txt,sha256=pymi-yb_RvYM9p2ZA4iSNsImcvhDBBxlGuJCY9dTq7M,233
5
- tt_perf_report-1.1.4.dist-info/METADATA,sha256=hcWagyFYDkL4wfrdo9n_31XfkRF1AsCX_gPgY7qJ1ms,18393
6
- tt_perf_report-1.1.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- tt_perf_report-1.1.4.dist-info/entry_points.txt,sha256=ReAziglcjbAkPbklqheUISkfoEVI5ptlFrBAJTIk5dI,67
8
- tt_perf_report-1.1.4.dist-info/top_level.txt,sha256=mEQ-BK3rRbmz9QyWitTCLy2xwmC5rmJno_TY_H9s9CE,15
9
- tt_perf_report-1.1.4.dist-info/RECORD,,