[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>
[ROCm/amdsmi commit: 4fd8b88aa5]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Arif, Maisam
ebeveyn
dd518c61d2
işleme
fb6b706559
@@ -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:
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle