Deleted Added
sdiff udiff text old ( 4997:e7380529bd2d ) new ( 4998:51a0f9f59cc5 )
full compact
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;

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

152 virtual void regStats();
153 virtual void resetStats();
154
155 // number of simulated instructions
156 Counter numInst;
157 Counter startNumInst;
158 Stats::Scalar<> numInsts;
159
160 virtual Counter totalInstructions() const
161 {
162 return numInst - startNumInst;
163 }
164
165 // Mask to align PCs to MachInst sized boundaries
166 static const Addr PCMask = ~((Addr)sizeof(TheISA::MachInst) - 1);
167

--- 214 unchanged lines hidden ---