summaryrefslogtreecommitdiff
path: root/src/python/m5/objects
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-01-03 10:12:55 -0800
committerNathan Binkert <binkertn@umich.edu>2007-01-03 10:12:55 -0800
commitfc45d42d01fba4f858012740e6a8a43ce5ecad9b (patch)
tree8f2e15b9f90416aaeb09d6398f91e6396934b57d /src/python/m5/objects
parent7d7f3d0e99eca98a5659e73bce56d615f0ed4fc3 (diff)
downloadgem5-fc45d42d01fba4f858012740e6a8a43ce5ecad9b.tar.xz
Add 'Time' as a parameter type that can accept various
formats for time (strings, datetime objects, etc.) Advance system time to 1/1/2009 Clean up time management code a little bit --HG-- extra : convert_revision : 28ebecc7ea6b12f4345c77a9a6b4bdf2e752c4f8
Diffstat (limited to 'src/python/m5/objects')
-rw-r--r--src/python/m5/objects/Tsunami.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/objects/Tsunami.py b/src/python/m5/objects/Tsunami.py
index ac9020b47..18a776a7f 100644
--- a/src/python/m5/objects/Tsunami.py
+++ b/src/python/m5/objects/Tsunami.py
@@ -13,8 +13,8 @@ class TsunamiCChip(BasicPioDevice):
class TsunamiIO(BasicPioDevice):
type = 'TsunamiIO'
- time = Param.UInt64(1136073600,
- "System time to use (0 for actual time, default is 1/1/06)")
+ time = Param.Time('01/01/2009',
+ "System time to use ('Now' for actual time)")
tsunami = Param.Tsunami(Parent.any, "Tsunami")
frequency = Param.Frequency('1024Hz', "frequency of interrupts")