base.cc (4928:951bd17db218) | base.cc (4947:6052dece6776) |
---|---|
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; --- 329 unchanged lines hidden (view full) --- 338 } 339 340#if FULL_SYSTEM 341 interrupts = oldCPU->interrupts; 342 343 for (int i = 0; i < threadContexts.size(); ++i) 344 threadContexts[i]->profileClear(); 345 | 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; --- 329 unchanged lines hidden (view full) --- 338 } 339 340#if FULL_SYSTEM 341 interrupts = oldCPU->interrupts; 342 343 for (int i = 0; i < threadContexts.size(); ++i) 344 threadContexts[i]->profileClear(); 345 |
346 // The Sampler must take care of this! 347// if (profileEvent) 348// profileEvent->schedule(curTick); | 346 if (profileEvent) 347 profileEvent->schedule(curTick); |
349#endif 350 351 // Connect new CPU to old CPU's memory only if new CPU isn't 352 // connected to anything. Also connect old CPU's memory to new 353 // CPU. 354 Port *peer; 355 if (ic->getPeer() == NULL) { 356 peer = oldCPU->getPort("icache_port")->getPeer(); --- 98 unchanged lines hidden --- | 348#endif 349 350 // Connect new CPU to old CPU's memory only if new CPU isn't 351 // connected to anything. Also connect old CPU's memory to new 352 // CPU. 353 Port *peer; 354 if (ic->getPeer() == NULL) { 355 peer = oldCPU->getPort("icache_port")->getPeer(); --- 98 unchanged lines hidden --- |