[SWDEV-554860] Fix amd-smi monitor -qt --gpu 0 --csv
For process - Dual CSV is required in order to print 4 separate rows. 1. Metric header + data 2. Process header + data Change-Id: Ibb7bfb13fa95a7c43b2e3f9061ada3a6be4aa8cb Signed-off-by: Charis Poag <Charis.Poag@amd.com>
Esse commit está contido em:
@@ -6126,6 +6126,9 @@ class AMDSMICommands():
|
||||
|
||||
self.logger.table_header += 'PCIE_BW'.rjust(12)
|
||||
|
||||
# initialize dual_csv_format; applicable to process only
|
||||
dual_csv_output = False
|
||||
|
||||
# Store process list separately
|
||||
if args.process:
|
||||
# Populate initial processes
|
||||
@@ -6365,8 +6368,6 @@ class AMDSMICommands():
|
||||
# Store typical output for all commands (XCP data will be handled separately, eg. violation status)
|
||||
if not args.violation:
|
||||
self.logger.store_output(args.gpu, 'values', monitor_values)
|
||||
# intialize dual_csv_format; applicable to process only
|
||||
dual_csv_output = False
|
||||
|
||||
# Now handling the single gpu case only
|
||||
if multiple_devices:
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário