I want to find the total memory access time for a matrix program. The formula is
MAT = HITRate × CacheAccessTime + MissRate × RAMAccessTime
I have calculated the cache miss and hit rate by cache grind. But I dont know how to find the cache access time and Ram access time? Kindly I need your help. Is there any tool like perf and cache grid which find the cache and Ram access time in ubunutu.