base.cc (5529:9ae69b9cd7fd) base.cc (5536:17c0c17726ff)
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
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, int _interval)
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 ---
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 ---