Hi all,

 

I am new to gem5 and I have a
question as follows: I want to declare a variable (e.g. counter variable) and
keep incrementing it inside tick() function in cpu.cc file. I am wondering what
I can do to make gem5 give me JUST the LAST value of the counter variable in
stats.txt or any other output file.

 

Thank you
very much in advance for your help,

Shervin
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to