summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-03-05 05:44:11 -0500
committerNathan Binkert <binkertn@umich.edu>2004-03-05 05:44:11 -0500
commit4992680ea28928b165e9fe16d19f4630c66af173 (patch)
tree93ec502bbb7a123ee457407082be61136eba6b18
parent5537f02d49018383650b4f576baba1e35ec1f233 (diff)
downloadgem5-4992680ea28928b165e9fe16d19f4630c66af173.tar.xz
add ticks per picosecond
--HG-- extra : convert_revision : 1585e7f89340b941e699db6b81080af58500a7c2
-rw-r--r--sim/universe.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/universe.cc b/sim/universe.cc
index feede514e..d6c849ac7 100644
--- a/sim/universe.cc
+++ b/sim/universe.cc
@@ -47,6 +47,7 @@ Tick ticksPerSecond;
double __ticksPerMS;
double __ticksPerUS;
double __ticksPerNS;
+double __ticksPerPS;
string outputDirectory;
ostream *outputStream;
@@ -79,6 +80,7 @@ UniverseParamContext::checkParams()
__ticksPerMS = freq / 1.0e3;
__ticksPerUS = freq / 1.0e6;
__ticksPerNS = freq / 1.0e9;
+ __ticksPerPS = freq / 1.0e12;
if (universe_output_dir.isValid()) {
outputDirectory = universe_output_dir;