(except for warn()) and new -r/-e options make it
not worth fixing.
#endif
ccprintf(cerr, format.c_str(), args);
- if (simout.isFile(*outputStream))
- ccprintf(*outputStream, format.c_str(), args);
}
%include "sim/host.hh"
void setOutputDir(const std::string &dir);
-void setOutputFile(const std::string &file);
void SimStartup();
void doExitCleanup();
void disableAllListeners();
simout.setDirectory(dir);
}
-ostream *outputStream;
-
-void
-setOutputFile(const string &file)
-{
- outputStream = simout.find(file);
-}
-
/**
* Queue of C++ callbacks to invoke on simulator exit.
*/
void setClockFrequency(Tick ticksPerSecond);
-/// Output stream for simulator messages (e.g., cprintf()). Also used
-/// as default stream for tracing and DPRINTF() messages (unless
-/// overridden with trace:file option).
-extern std::ostream *outputStream;
-void setOutputFile(const std::string &file);
void setOutputDir(const std::string &dir);
struct Callback;