trace.cc (8232:b28d06a175be) trace.cc (8640:cb8a72779f7e)
1/*
2 * Copyright (c) 2001-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;

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

59{
60 return *dprintf_stream;
61}
62
63void
64setOutput(const string &filename)
65{
66 dprintf_stream = simout.find(filename);
1/*
2 * Copyright (c) 2001-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;

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

59{
60 return *dprintf_stream;
61}
62
63void
64setOutput(const string &filename)
65{
66 dprintf_stream = simout.find(filename);
67 if (!dprintf_stream)
68 dprintf_stream = simout.create(filename);
67}
68
69ObjectMatch ignore;
70
71void
72dprintf(Tick when, const std::string &name, const char *format,
73 CPRINTF_DEFINITION)
74{

--- 76 unchanged lines hidden ---
69}
70
71ObjectMatch ignore;
72
73void
74dprintf(Tick when, const std::string &name, const char *format,
75 CPRINTF_DEFINITION)
76{

--- 76 unchanged lines hidden ---