fix for improper display of % of peak for instruction mix panel
Signed-off-by: Nicholas Curtis <nicurtis@amd.com>
[ROCm/rocprofiler-compute commit: c10cc0ede2]
Šī revīzija ir iekļauta:
revīziju iesūtīja
Cole Ramos
vecāks
be39eabd2c
revīzija
5f48d2d30d
@@ -227,10 +227,13 @@ def build_bar_chart(display_df, table_config, barchart_elements, norm_filt):
|
|||||||
).update_xaxes(range=[0, 1638])
|
).update_xaxes(range=[0, 1638])
|
||||||
) # append second GB/s chart
|
) # append second GB/s chart
|
||||||
else:
|
else:
|
||||||
|
key = 'Avg'
|
||||||
|
if table_config['id'] in [1101]:
|
||||||
|
key = 'Pct of Peak'
|
||||||
d_figs.append(
|
d_figs.append(
|
||||||
px.bar(
|
px.bar(
|
||||||
display_df,
|
display_df,
|
||||||
x="Avg",
|
x=key,
|
||||||
y="Metric",
|
y="Metric",
|
||||||
color="Avg",
|
color="Avg",
|
||||||
range_color=[0, 100],
|
range_color=[0, 100],
|
||||||
|
|||||||
Atsaukties uz šo jaunā problēmā
Block a user