insttracer.hh (4832:20a1360a5341) insttracer.hh (5034:6186ef720dd4)
1/*
2 * Copyright (c) 2001-2005 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;

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

124 { cp_seq = seq; cp_seq_valid = true; }
125
126 virtual void dump() = 0;
127};
128
129class InstTracer : public SimObject
130{
131 public:
1/*
2 * Copyright (c) 2001-2005 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;

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

124 { cp_seq = seq; cp_seq_valid = true; }
125
126 virtual void dump() = 0;
127};
128
129class InstTracer : public SimObject
130{
131 public:
132 InstTracer(const std::string & name) : SimObject(name)
132 InstTracer(const Params *p) : SimObject(p)
133 {}
134
135 virtual ~InstTracer()
136 {};
137
138 virtual InstRecord *
139 getInstRecord(Tick when, ThreadContext *tc,
140 const StaticInstPtr staticInst, Addr pc) = 0;
141};
142
143
144
145}; // namespace Trace
146
147#endif // __INSTRECORD_HH__
133 {}
134
135 virtual ~InstTracer()
136 {};
137
138 virtual InstRecord *
139 getInstRecord(Tick when, ThreadContext *tc,
140 const StaticInstPtr staticInst, Addr pc) = 0;
141};
142
143
144
145}; // namespace Trace
146
147#endif // __INSTRECORD_HH__