Hi, What I am trying to do is to maintain a dynamic instruction window in the System class. It should contain all the committed instructions (actually their pointers as DynInstPtr) from different CPUs. That's why it cannot be a member of CPU class (otherwise it won't be able to include the insts from other cores). However, I couldn't figure out a way to use DynInstPtr in System class... I got confused with the template usage in cpu/o3/impl.hh, etc. I know this is a silly programming question about C++ template which I am not familiar with, but please help...How should I declare in System (or any other non-CPU classes) to make DynInstPtr usable?
Thanks, Lide
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
