base.cc (8793:5f25086326ac) | base.cc (8795:0909f8ed7aa0) |
---|---|
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 --- 220 unchanged lines hidden (view full) --- 229 if (FullSystem) { 230 if (!params()->defer_registration && profileEvent) 231 schedule(profileEvent, curTick()); 232 } 233 234 if (params()->progress_interval) { 235 Tick num_ticks = ticks(params()->progress_interval); 236 | 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 --- 220 unchanged lines hidden (view full) --- 229 if (FullSystem) { 230 if (!params()->defer_registration && profileEvent) 231 schedule(profileEvent, curTick()); 232 } 233 234 if (params()->progress_interval) { 235 Tick num_ticks = ticks(params()->progress_interval); 236 |
237 Event *event; 238 event = new CPUProgressEvent(this, num_ticks); | 237 new CPUProgressEvent(this, num_ticks); |
239 } 240} 241 242 243void 244BaseCPU::regStats() 245{ 246 using namespace Stats; --- 223 unchanged lines hidden --- | 238 } 239} 240 241 242void 243BaseCPU::regStats() 244{ 245 using namespace Stats; --- 223 unchanged lines hidden --- |