Hello, I want to implement two functions, these two functions need to be called every cycle(Tick). The first function needs to return the number of outstanding demand misses in MSHR, it shows the total number of misses in MSHR for each cycle. The second function needs to return the number of hits occur in each cycle, if no hits in that cycle, it will return 0.
I need the cycle information, so these functions need to be called every cycle and get statistics. I want to know how to implement these functions in gem5, can I implement the logic in src/mem/cache/cache.cc? Any ideas or suggestions for implementing would be helpful. Thank you very much. Rosen
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
