Hi Gabriel,

I've followed the instructions you have provided but I'm still getting the
same numbers on every gem5 run. The changes I made to se.py are the
following.

+
from _m5.core import seedRandom
seedRandom(int(<seed>))

I'm producing random numbers in my program by seeding srand with time srand
and rand. Shouldn't changing the seed I provide to the seedRandom function
result in different numbers generated in each run of the program. Please
correct me if my understanding is wrong.

Thanks,
Victor
_______________________________________________
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