mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:41:26 +08:00
Update memory transaction size for sysman memory module
Related-To: LOCI-3142 Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6fe263d0a3
commit
94177389f9
@@ -138,8 +138,8 @@ ze_result_t LinuxMemoryImp::readMcChannelCounters(uint64_t &readCounters, uint64
|
||||
}
|
||||
}
|
||||
// PMT counters returns number of transactions that have occured and each tranaction is of 64 bytes
|
||||
// Multiplying 64(tranaction size) with number of transactions gives the total reads or writes in bytes
|
||||
constexpr uint64_t transactionSize = 64;
|
||||
// Multiplying 32(tranaction size) with number of transactions gives the total reads or writes in bytes
|
||||
constexpr uint64_t transactionSize = 32;
|
||||
readCounters = (counterValues[0] + counterValues[2]) * transactionSize; // Read counters are summation of total IDI_READS and DISPLAY_VC1_READS
|
||||
writeCounters = (counterValues[1]) * transactionSize; // Write counters are summation of IDI_WRITES
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user