projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: Push the global frequency management code into C++.
[gem5.git]
/
src
/
sim
/
core.hh
diff --git
a/src/sim/core.hh
b/src/sim/core.hh
index 281fe61f541b39eac08d6ec7b0af1e6baf0fdc91..8e464548fe138120209f020286dfe0b914e7d04b 100644
(file)
--- a/
src/sim/core.hh
+++ b/
src/sim/core.hh
@@
-91,7
+91,12
@@
extern Tick ps; ///< picosecond
} // namespace Int
} // namespace SimClock
/** @} */
+
+void fixClockFrequency();
+bool clockFrequencyFixed();
+
void setClockFrequency(Tick ticksPerSecond);
+Tick getClockFrequency(); // Ticks per second.
void setOutputDir(const std::string &dir);