Hello, I’m writing because I would like to measure hardware statistics from only a certain part of a portion of a large piece of software to be run during a gem5 simulation. Is there a convention to this type of solution?
In my head, I had mapped out the idea of writing a SimObject that behaves as an API for the software, and then the software can make such calls as if it were a system call. As I understand it, that would entail the src/sim/stat_control.hh file and then calling “schedStatEvent” from the API SimObject. Am I on the right track? Is there a cleaner/faster alternative? Best, Sam _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s