base.hh (6658:f4de76601762) base.hh (6816:6f8efbef2300)
1/*
2 * Copyright (c) 2002-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;

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

269#endif
270
271 /**
272 * Return pointer to CPU's branch predictor (NULL if none).
273 * @return Branch predictor pointer.
274 */
275 virtual BranchPred *getBranchPred() { return NULL; };
276
1/*
2 * Copyright (c) 2002-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;

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

269#endif
270
271 /**
272 * Return pointer to CPU's branch predictor (NULL if none).
273 * @return Branch predictor pointer.
274 */
275 virtual BranchPred *getBranchPred() { return NULL; };
276
277 virtual Counter totalInstructions() const { return 0; }
277 virtual Counter totalInstructions() const = 0;
278
279 // Function tracing
280 private:
281 bool functionTracingEnabled;
282 std::ostream *functionTraceStream;
283 Addr currentFunctionStart;
284 Addr currentFunctionEnd;
285 Tick functionEntryTick;

--- 32 unchanged lines hidden ---
278
279 // Function tracing
280 private:
281 bool functionTracingEnabled;
282 std::ostream *functionTraceStream;
283 Addr currentFunctionStart;
284 Addr currentFunctionEnd;
285 Tick functionEntryTick;

--- 32 unchanged lines hidden ---