base.cc (8232:b28d06a175be) | base.cc (8607:5fb918115c07) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Regents of the University of California 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 226 unchanged lines hidden (view full) --- 235#if FULL_SYSTEM 236 if (!params()->defer_registration && profileEvent) 237 schedule(profileEvent, curTick()); 238#endif 239 240 if (params()->progress_interval) { 241 Tick num_ticks = ticks(params()->progress_interval); 242 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Regents of the University of California 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 226 unchanged lines hidden (view full) --- 235#if FULL_SYSTEM 236 if (!params()->defer_registration && profileEvent) 237 schedule(profileEvent, curTick()); 238#endif 239 240 if (params()->progress_interval) { 241 Tick num_ticks = ticks(params()->progress_interval); 242 |
243 Event *event; 244 event = new CPUProgressEvent(this, num_ticks); | 243 new CPUProgressEvent(this, num_ticks); |
245 } 246} 247 248 249void 250BaseCPU::regStats() 251{ 252 using namespace Stats; --- 232 unchanged lines hidden --- | 244 } 245} 246 247 248void 249BaseCPU::regStats() 250{ 251 using namespace Stats; --- 232 unchanged lines hidden --- |