core.hh (12980:127afc3ac506) core.hh (13409:071d5425ce37)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * Copyright (c) 2013 Mark D. Hill and David A. Wood
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 77 unchanged lines hidden (view full) ---

86extern Tick ms; ///< millisecond
87extern Tick us; ///< microsecond
88extern Tick ns; ///< nanosecond
89extern Tick ps; ///< picosecond
90/** @} */
91} // namespace Int
92} // namespace SimClock
93/** @} */
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * Copyright (c) 2013 Advanced Micro Devices, Inc.
4 * Copyright (c) 2013 Mark D. Hill and David A. Wood
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are

--- 77 unchanged lines hidden (view full) ---

86extern Tick ms; ///< millisecond
87extern Tick us; ///< microsecond
88extern Tick ns; ///< nanosecond
89extern Tick ps; ///< picosecond
90/** @} */
91} // namespace Int
92} // namespace SimClock
93/** @} */
94
95void fixClockFrequency();
96bool clockFrequencyFixed();
97
94void setClockFrequency(Tick ticksPerSecond);
98void setClockFrequency(Tick ticksPerSecond);
99Tick getClockFrequency(); // Ticks per second.
95
96void setOutputDir(const std::string &dir);
97
98class Callback;
99void registerExitCallback(Callback *callback);
100void doExitCleanup();
101
102#endif /* __SIM_CORE_HH__ */
100
101void setOutputDir(const std::string &dir);
102
103class Callback;
104void registerExitCallback(Callback *callback);
105void doExitCleanup();
106
107#endif /* __SIM_CORE_HH__ */