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; --- 343 unchanged lines hidden (view full) --- 352 Port *peer = oldCPU->getPort("dcache_port")->getPeer(); 353 dc->setPeer(peer); 354 peer->setPeer(dc); 355 } 356} 357 358 359#if FULL_SYSTEM |
360BaseCPU::ProfileEvent::ProfileEvent(BaseCPU *_cpu, Tick _interval) |
361 : Event(&mainEventQueue), cpu(_cpu), interval(_interval) 362{ } 363 364void 365BaseCPU::ProfileEvent::process() 366{ 367 for (int i = 0, size = cpu->threadContexts.size(); i < size; ++i) { 368 ThreadContext *tc = cpu->threadContexts[i]; --- 72 unchanged lines hidden --- |