I want to calculate number of writes in L2 cache. I think from gem5 stats file, i need to sum number of write-backs from L1 cache and Number of misses in L2 cache(Because, that cause data to be written from memory in L2 cache).
To count write-backs, I am confused between two parameters (write-back accesses and write-backs)
To count number of misses in L2 cache, can i use overall_misses from gem5 stats file.
Can anyone suggest something