rob.hh (6658:f4de76601762) rob.hh (7897:d9e8b1fd1a9f)
1/*
2 * Copyright (c) 2004-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;

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

248 int countInsts();
249
250 /** This is more of a debugging function than anything. Use
251 * threadEntries to get the instructions in the ROB unless you are
252 * double checking that variable.
253 */
254 int countInsts(ThreadID tid);
255
1/*
2 * Copyright (c) 2004-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;

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

248 int countInsts();
249
250 /** This is more of a debugging function than anything. Use
251 * threadEntries to get the instructions in the ROB unless you are
252 * double checking that variable.
253 */
254 int countInsts(ThreadID tid);
255
256 /** Registers statistics. */
257 void regStats();
258
256 private:
257 /** Pointer to the CPU. */
258 O3CPU *cpu;
259
260 /** Active Threads in CPU */
261 std::list<ThreadID> *activeThreads;
262
263 /** Number of instructions in the ROB. */

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

307 /** The sequence number of the squashed instruction. */
308 InstSeqNum squashedSeqNum[Impl::MaxThreads];
309
310 /** Is the ROB done squashing. */
311 bool doneSquashing[Impl::MaxThreads];
312
313 /** Number of active threads. */
314 ThreadID numThreads;
259 private:
260 /** Pointer to the CPU. */
261 O3CPU *cpu;
262
263 /** Active Threads in CPU */
264 std::list<ThreadID> *activeThreads;
265
266 /** Number of instructions in the ROB. */

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

310 /** The sequence number of the squashed instruction. */
311 InstSeqNum squashedSeqNum[Impl::MaxThreads];
312
313 /** Is the ROB done squashing. */
314 bool doneSquashing[Impl::MaxThreads];
315
316 /** Number of active threads. */
317 ThreadID numThreads;
318
319 // The number of rob_reads
320 Stats::Scalar robReads;
321 // The number of rob_writes
322 Stats::Scalar robWrites;
315};
316
317#endif //__CPU_O3_ROB_HH__
323};
324
325#endif //__CPU_O3_ROB_HH__