How to count the percentage of MC RPQ/WPQ in total memory latency?
I am looking for the hardware performance events to measure the RPQ/WPQ ratio of total memory access time. I read the uncore spec of Xeon 26xx, and I only found two events RPQ_CYCLES_NO_REG_CREDITS /WPQ_CYCLES_NO_REG_CREDITS that count the cycle when a request is pending for the MC queue. However, I want to know RPQ/WPQ ratio of total memory access time. For example, RPQ ratio=(RPQ_CYCLES_NO_REG_CREDITS )/ total_memory_access_cycles, can anyone help me to calculate the total_memory_access_cycles?