base.hh (5807:57f9f8b8e62f) base.hh (5999:3cf8e71257e0)
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;

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

299 for (int i = 0; i < size; ++i)
300 total += cpuList[i]->totalInstructions();
301
302 return total;
303 }
304
305 public:
306 // Number of CPU cycles simulated
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;

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

299 for (int i = 0; i < size; ++i)
300 total += cpuList[i]->totalInstructions();
301
302 return total;
303 }
304
305 public:
306 // Number of CPU cycles simulated
307 Stats::Scalar<> numCycles;
307 Stats::Scalar numCycles;
308};
309
310#endif // __CPU_BASE_HH__
308};
309
310#endif // __CPU_BASE_HH__