mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
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:
committed by
Compute-Runtime-Automation
parent
3f03cce346
commit
a467b30842
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user