base.cc (5311:9ed42a2315ae) | base.cc (5336:c7e21f4e5a2e) |
---|---|
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; --- 74 unchanged lines hidden (view full) --- 83 cprintf("%lli: %s progress event, instructions committed: %lli\n", 84 curTick, cpu->name(), temp - lastNumInst); 85#endif 86 lastNumInst = temp; 87 schedule(curTick + interval); 88} 89 90const char * | 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; --- 74 unchanged lines hidden (view full) --- 83 cprintf("%lli: %s progress event, instructions committed: %lli\n", 84 curTick, cpu->name(), temp - lastNumInst); 85#endif 86 lastNumInst = temp; 87 schedule(curTick + interval); 88} 89 90const char * |
91CPUProgressEvent::description() | 91CPUProgressEvent::description() const |
92{ 93 return "CPU Progress"; 94} 95 96#if FULL_SYSTEM 97BaseCPU::BaseCPU(Params *p) 98 : MemObject(makeParams(p->name)), clock(p->clock), instCnt(0), 99 params(p), number_of_threads(p->numberOfThreads), system(p->system), --- 355 unchanged lines hidden --- | 92{ 93 return "CPU Progress"; 94} 95 96#if FULL_SYSTEM 97BaseCPU::BaseCPU(Params *p) 98 : MemObject(makeParams(p->name)), clock(p->clock), instCnt(0), 99 params(p), number_of_threads(p->numberOfThreads), system(p->system), --- 355 unchanged lines hidden --- |