gem5-users@gem5.org

The gem5 Users mailing list

View all threads

How to obtain real-time cache information in FS simulation

T
tyhtyh@mail.ustc.edu.cn
Wed, Jan 24, 2024 12:34 PM

Hello, I plan to enable my program to read hardware information from the underlying layer during full simulation, such as the hit rate of L1 cache, and then schedule based on this information. However, I am not sure how to implement it. My current idea is to add new instructions to Gem5 and implement new system calls, but this step seems particularly complex. Can you provide me with some relevant guidance or similar examples? Of course, if there is a better implementation method, please let me know. Thank you very much

Hello, I plan to enable my program to read hardware information from the underlying layer during full simulation, such as the hit rate of L1 cache, and then schedule based on this information. However, I am not sure how to implement it. My current idea is to add new instructions to Gem5 and implement new system calls, but this step seems particularly complex. Can you provide me with some relevant guidance or similar examples? Of course, if there is a better implementation method, please let me know. Thank you very much