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; --- 24 unchanged lines hidden (view full) --- 33#include "arch/alpha/kernel_stats.hh" 34#include "cpu/thread_context.hh" 35 36using namespace AlphaISA; 37 38void 39IdleStartEvent::process(ThreadContext *tc) 40{ |
41 if (tc->getKernelStats()) { 42 MiscReg val = tc->readMiscRegNoEffect(IPR_PALtemp23); 43 tc->getKernelStats()->setIdleProcess(val, tc); 44 } |
45 remove(); 46} |