Hi, All,

I am trying to use gem5 internal scalar data type(Stats:Scalar), I tried to
initialize it to a fixed value and register it in the regStats() function,
but after the simulation, I found the value dumped out is 0.

And also, if I want to do some calculation based on this value and convert
it into unsigned value, there are errors in compilation. So how can I
convert it to unsigned value?

Thanks for the help.

Best regards.

Shougang
_______________________________________________
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

Reply via email to