sim_events.cc (3144:b6e9e1811d71) | sim_events.cc (4167:ce5d0f62f13b) |
---|---|
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; --- 144 unchanged lines hidden (view full) --- 153 schedule(curTick + interval); 154} 155 156const char * 157CheckSwapEvent::description() 158{ 159 return "check swap"; 160} | 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; --- 144 unchanged lines hidden (view full) --- 153 schedule(curTick + interval); 154} 155 156const char * 157CheckSwapEvent::description() 158{ 159 return "check swap"; 160} |
161 162// 163// handle progress event: print message and reschedule 164// 165void 166ProgressEvent::process() 167{ 168 DPRINTFN("ProgressEvent\n"); 169 // reschedule for next interval 170 schedule(curTick + interval); 171} 172 173 174const char * 175ProgressEvent::description() 176{ 177 return "progress message"; 178} | |