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