core.hh (4762:c94e103c83ad) | core.hh (5527:cdcfaac59d70) |
---|---|
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; --- 54 unchanged lines hidden (view full) --- 63extern Tick us; 64extern Tick ns; 65extern Tick ps; 66/* namespace Int */ } 67/* namespace Clock */ } 68 69void setClockFrequency(Tick ticksPerSecond); 70 | 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; --- 54 unchanged lines hidden (view full) --- 63extern Tick us; 64extern Tick ns; 65extern Tick ps; 66/* namespace Int */ } 67/* namespace Clock */ } 68 69void setClockFrequency(Tick ticksPerSecond); 70 |
71/// Output stream for simulator messages (e.g., cprintf()). Also used 72/// as default stream for tracing and DPRINTF() messages (unless 73/// overridden with trace:file option). 74extern std::ostream *outputStream; 75void setOutputFile(const std::string &file); | |
76void setOutputDir(const std::string &dir); 77 78struct Callback; 79void registerExitCallback(Callback *callback); 80void doExitCleanup(); 81 82#endif /* __SIM_CORE_HH__ */ | 71void setOutputDir(const std::string &dir); 72 73struct Callback; 74void registerExitCallback(Callback *callback); 75void doExitCleanup(); 76 77#endif /* __SIM_CORE_HH__ */ |