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;
--- 83 unchanged lines hidden (view full) ---
92}
93
94void
95setOutputDir(const string &dir)
96{
97 simout.setDirectory(dir);
98}
99
100ostream *outputStream;
101
102void
103setOutputFile(const string &file)
104{
105 outputStream = simout.find(file);
106}
107
108/**
109 * Queue of C++ callbacks to invoke on simulator exit.
110 */
111inline CallbackQueue &
112exitCallbacks()
113{
114 static CallbackQueue theQueue;
115 return theQueue;
--- 24 unchanged lines hidden ---
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;
--- 83 unchanged lines hidden (view full) ---
92}
93
94void
95setOutputDir(const string &dir)
96{
97 simout.setDirectory(dir);
98}
99
100ostream *outputStream;
101
102void
103setOutputFile(const string &file)
104{
105 outputStream = simout.find(file);
106}
107
108/**
109 * Queue of C++ callbacks to invoke on simulator exit.
110 */
111inline CallbackQueue &
112exitCallbacks()
113{
114 static CallbackQueue theQueue;
115 return theQueue;
--- 24 unchanged lines hidden ---