idle_event.cc (3565:6ad587fb7dfd) idle_event.cc (4172:141705d83494)
1/*
2 * Copyright (c) 2004-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;

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

35
36using namespace TheISA;
37
38void
39IdleStartEvent::process(ThreadContext *tc)
40{
41 if (tc->getKernelStats())
42 tc->getKernelStats()->setIdleProcess(
1/*
2 * Copyright (c) 2004-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;

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

35
36using namespace TheISA;
37
38void
39IdleStartEvent::process(ThreadContext *tc)
40{
41 if (tc->getKernelStats())
42 tc->getKernelStats()->setIdleProcess(
43 tc->readMiscReg(AlphaISA::IPR_PALtemp23), tc);
43 tc->readMiscRegNoEffect(AlphaISA::IPR_PALtemp23), tc);
44 remove();
45}
44 remove();
45}