Profiler.hh (6889:323cd43a3c46) Profiler.hh (6896:649e40aad897)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
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;

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

257
258 // added for MemoryControl:
259 //added by SS
260 Vector < memory_control_profiler* > m_mc_profilers;
261
262 //added by SS
263 bool m_hot_lines;
264 bool m_all_instructions;
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
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;

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

257
258 // added for MemoryControl:
259 //added by SS
260 Vector < memory_control_profiler* > m_mc_profilers;
261
262 //added by SS
263 bool m_hot_lines;
264 bool m_all_instructions;
265
266 int m_num_of_sequencers;
265};
266
267// Output operator declaration
268ostream& operator<<(ostream& out, const Profiler& obj);
269
270// ******************* Definitions *******************
271
272// Output operator definition
273extern inline
274ostream& operator<<(ostream& out, const Profiler& obj)
275{
276 obj.print(out);
277 out << flush;
278 return out;
279}
280
281#endif //PROFILER_H
282
283
267};
268
269// Output operator declaration
270ostream& operator<<(ostream& out, const Profiler& obj);
271
272// ******************* Definitions *******************
273
274// Output operator definition
275extern inline
276ostream& operator<<(ostream& out, const Profiler& obj)
277{
278 obj.print(out);
279 out << flush;
280 return out;
281}
282
283#endif //PROFILER_H
284
285