Hello everyone, 

I am trying to profile some information while running an application on gem5 
using classic cache model. I have added a data structure in the BaseCache class 
file (src/mem/cache/base.cc <http://base.cc/>). I would like to print the 
contents of the data structure at the end of the simulation. I don’t see any 
prints from the BaseCache class destructor at the end of the simulation. How 
are the BaseCache class objects being destroyed? 

I tried printing the contents of the data structure within the OutputStream 
class destructor, I could see the prints, however the data structure was freed 
by then. When does gem5 free user defined data structures defined within 
base.cc <http://base.cc/>?

Thanks in advance. 

With regards
Shyam Murthy
Computer Science
UW Madison 
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to