fix: Correct maxBandwidth unit conversation in pmt

Related-To: NEO-12475

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
This commit is contained in:
shubham kumar
2024-08-28 17:03:33 +00:00
committed by Compute-Runtime-Automation
parent 3f03cce346
commit a467b30842
2 changed files with 4 additions and 2 deletions

View File

@@ -565,7 +565,9 @@ ze_result_t SysmanProductHelperHw<gfxProduct>::getMemoryBandWidth(zes_mem_bandwi
}
maxBandwidth = maxBandwidth >> 16;
pBandwidth->maxBandwidth = static_cast<uint64_t>(maxBandwidth) * MemoryConstants::megaByte;
// PMT reports maxBandwidth in units of 100 MBps. Need to convert it into Bytes/sec, unit to be returned by sysman.
pBandwidth->maxBandwidth = static_cast<uint64_t>(maxBandwidth) * MemoryConstants::megaByte * 100;
// timestamp calcuation
uint32_t timeStampL = 0;