trace.hh (11153:20bbfe5b2b86) trace.hh (11168:f98eb2da15a4)
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * Copyright (c) 2001-2006 The Regents of The University of Michigan
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

96 protected:
97 std::ostream &stream;
98
99 public:
100 OstreamLogger(std::ostream &stream_) : stream(stream_)
101 { }
102
103 void logMessage(Tick when, const std::string &name,
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * Copyright (c) 2001-2006 The Regents of The University of Michigan
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

96 protected:
97 std::ostream &stream;
98
99 public:
100 OstreamLogger(std::ostream &stream_) : stream(stream_)
101 { }
102
103 void logMessage(Tick when, const std::string &name,
104 const std::string &message) M5_ATTR_OVERRIDE;
104 const std::string &message) override;
105
105
106 std::ostream &getOstream() M5_ATTR_OVERRIDE { return stream; }
106 std::ostream &getOstream() override { return stream; }
107};
108
109/** Get the current global debug logger. This takes ownership of the given
110 * logger which should be allocated using 'new' */
111Logger *getDebugLogger();
112
113/** Get the ostream from the current global logger */
114std::ostream &output();

--- 107 unchanged lines hidden ---
107};
108
109/** Get the current global debug logger. This takes ownership of the given
110 * logger which should be allocated using 'new' */
111Logger *getDebugLogger();
112
113/** Get the ostream from the current global logger */
114std::ostream &output();

--- 107 unchanged lines hidden ---