Comply to Python formatting
Signed-off-by: colramos425 <colramos@amd.com>
[ROCm/rocprofiler-compute commit: 000867e106]
Tento commit je obsažen v:
@@ -143,8 +143,7 @@ def run_gui(args, runs):
|
||||
num_results,
|
||||
)
|
||||
runs[args.path[0][0]].raw_pmc = file_io.create_df_pmc(
|
||||
args.path[0][0],
|
||||
args.verbose
|
||||
args.path[0][0], args.verbose
|
||||
) # create mega df
|
||||
parser.load_kernel_top(runs[args.path[0][0]], args.path[0][0])
|
||||
|
||||
@@ -189,7 +188,9 @@ def run_cli(args, runs):
|
||||
args.time_unit,
|
||||
num_results,
|
||||
)
|
||||
runs[d[0]].raw_pmc = file_io.create_df_pmc(d[0], args.verbose) # creates mega dataframe
|
||||
runs[d[0]].raw_pmc = file_io.create_df_pmc(
|
||||
d[0], args.verbose
|
||||
) # creates mega dataframe
|
||||
is_gui = False
|
||||
parser.load_table_data(
|
||||
runs[d[0]], d[0], is_gui, args.g, args.verbose
|
||||
|
||||
@@ -103,8 +103,14 @@ def show_all(runs, archConfigs, output, decimal, time_unit, selected_cols, verbo
|
||||
):
|
||||
if run != base_run:
|
||||
# calc percentage over the baseline
|
||||
base_df[header]=[float(x) if x != '' else float(0) for x in base_df[header]]
|
||||
cur_df[header]=[float(x) if x != '' else float(0) for x in cur_df[header]]
|
||||
base_df[header] = [
|
||||
float(x) if x != "" else float(0)
|
||||
for x in base_df[header]
|
||||
]
|
||||
cur_df[header] = [
|
||||
float(x) if x != "" else float(0)
|
||||
for x in cur_df[header]
|
||||
]
|
||||
t_df = (
|
||||
pd.concat(
|
||||
[
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele