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:
Mayank Raghuwanshi
2022-07-26 09:27:27 +00:00
committed by Compute-Runtime-Automation
parent 6fe263d0a3
commit 94177389f9

View File

@@ -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;