Skip to content

Commit 9417738

Browse files
Update memory transaction size for sysman memory module
Related-To: LOCI-3142 Signed-off-by: Mayank Raghuwanshi <[email protected]>
1 parent 6fe263d commit 9417738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

level_zero/tools/source/sysman/memory/linux/os_memory_imp_prelim.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ ze_result_t LinuxMemoryImp::readMcChannelCounters(uint64_t &readCounters, uint64
138138
}
139139
}
140140
// PMT counters returns number of transactions that have occured and each tranaction is of 64 bytes
141-
// Multiplying 64(tranaction size) with number of transactions gives the total reads or writes in bytes
142-
constexpr uint64_t transactionSize = 64;
141+
// Multiplying 32(tranaction size) with number of transactions gives the total reads or writes in bytes
142+
constexpr uint64_t transactionSize = 32;
143143
readCounters = (counterValues[0] + counterValues[2]) * transactionSize; // Read counters are summation of total IDI_READS and DISPLAY_VC1_READS
144144
writeCounters = (counterValues[1]) * transactionSize; // Write counters are summation of IDI_WRITES
145145
return result;

0 commit comments

Comments
 (0)