projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5537f02
)
add ticks per picosecond
author
Nathan Binkert
<binkertn@umich.edu>
Fri, 5 Mar 2004 10:44:11 +0000
(
05:44
-0500)
committer
Nathan Binkert
<binkertn@umich.edu>
Fri, 5 Mar 2004 10:44:11 +0000
(
05:44
-0500)
--HG--
extra : convert_revision :
1585e7f89340b941e699db6b81080af58500a7c2
sim/universe.cc
patch
|
blob
|
history
diff --git
a/sim/universe.cc
b/sim/universe.cc
index feede514e9a457526978f68c1867c409f538c265..d6c849ac7d73a94991253d5327c7a2553f76ecdc 100644
(file)
--- 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;