cpu.cc (4997:e7380529bd2d) cpu.cc (5099:8ff1345b3ae4)
1/*
2 * Copyright (c) 2004-2006 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;

--- 1395 unchanged lines hidden (view full) ---

1404{
1405 if (activityRec.active() || tickEvent.scheduled()) {
1406 DPRINTF(Activity, "CPU already running.\n");
1407 return;
1408 }
1409
1410 DPRINTF(Activity, "Waking up CPU\n");
1411
1/*
2 * Copyright (c) 2004-2006 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;

--- 1395 unchanged lines hidden (view full) ---

1404{
1405 if (activityRec.active() || tickEvent.scheduled()) {
1406 DPRINTF(Activity, "CPU already running.\n");
1407 return;
1408 }
1409
1410 DPRINTF(Activity, "Waking up CPU\n");
1411
1412 idleCycles += (curTick - 1) - lastRunningCycle;
1412 idleCycles += tickToCycles((curTick - 1) - lastRunningCycle);
1413 numCycles += tickToCycles((curTick - 1) - lastRunningCycle);
1413
1414 tickEvent.schedule(nextCycle());
1415}
1416
1417template <class Impl>
1418int
1419FullO3CPU<Impl>::getFreeTid()
1420{

--- 48 unchanged lines hidden ---
1414
1415 tickEvent.schedule(nextCycle());
1416}
1417
1418template <class Impl>
1419int
1420FullO3CPU<Impl>::getFreeTid()
1421{

--- 48 unchanged lines hidden ---