Instead of passing an int to represent time between python and C++
authorNathan Binkert <binkertn@umich.edu>
Thu, 25 Jan 2007 19:59:41 +0000 (14:59 -0500)
committerNathan Binkert <binkertn@umich.edu>
Thu, 25 Jan 2007 19:59:41 +0000 (14:59 -0500)
commit73dd0ea35716b90c8448d729273cc153888a223b
tree4b9e1477bcf945deb7268ddc9be2f150a8c29a6f
parent4301e4cd08018eb56b4f196afcce9a8311f390b4
Instead of passing an int to represent time between python and C++
pass the tuple of python's struct_time and interpret that.
Fixes a problem where the local timezone leaked into the time
calculation.  Also fix things so that the unix, python, and RTC
data sheets all get the right time.  Provide both years since 1900
and BCD two digit year.
Put the date back at 1/1/2006 for now.

--HG--
extra : convert_revision : 473244572f468de2cb579a3dd7ae296a6f81f5d7
src/dev/alpha/tsunami_io.cc
src/dev/alpha/tsunami_io.hh
src/python/m5/objects/Tsunami.py
src/python/m5/params.py