core.hh (7064:586b0e3a12b3) core.hh (7811:a8fc35183c10)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

50extern double us;
51extern double ns;
52extern double ps;
53
54extern double Hz;
55extern double kHz;
56extern double MHz;
57extern double GHZ;
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

50extern double us;
51extern double ns;
52extern double ps;
53
54extern double Hz;
55extern double kHz;
56extern double MHz;
57extern double GHZ;
58/* namespace Float */ }
58} // namespace Float
59
60namespace Int {
61extern Tick s;
62extern Tick ms;
63extern Tick us;
64extern Tick ns;
65extern Tick ps;
59
60namespace Int {
61extern Tick s;
62extern Tick ms;
63extern Tick us;
64extern Tick ns;
65extern Tick ps;
66/* namespace Int */ }
67/* namespace SimClock */ }
66} // namespace Int
67} // namespace SimClock
68
69void setClockFrequency(Tick ticksPerSecond);
70
71void setOutputDir(const std::string &dir);
72
73struct Callback;
74void registerExitCallback(Callback *callback);
75void doExitCleanup();
76
77#endif /* __SIM_CORE_HH__ */
68
69void setClockFrequency(Tick ticksPerSecond);
70
71void setOutputDir(const std::string &dir);
72
73struct Callback;
74void registerExitCallback(Callback *callback);
75void doExitCleanup();
76
77#endif /* __SIM_CORE_HH__ */