sim_events.cc (2797:b5f26b4eacef) | sim_events.cc (2839:d5dd8a3cdea0) |
---|---|
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; --- 65 unchanged lines hidden (view full) --- 74 75void 76exitSimLoop(const std::string &message, int exit_code) 77{ 78 exitSimLoop(curTick, message, exit_code); 79} 80 81void | 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; --- 65 unchanged lines hidden (view full) --- 74 75void 76exitSimLoop(const std::string &message, int exit_code) 77{ 78 exitSimLoop(curTick, message, exit_code); 79} 80 81void |
82CountedQuiesceEvent::process() | 82CountedDrainEvent::process() |
83{ 84 if (--count == 0) { | 83{ 84 if (--count == 0) { |
85 exitSimLoop("Finished quiesce"); | 85 exitSimLoop("Finished drain"); |
86 } 87} 88 89// 90// constructor: automatically schedules at specified time 91// 92CountedExitEvent::CountedExitEvent(EventQueue *q, const std::string &_cause, 93 Tick _when, int &_downCounter) --- 76 unchanged lines hidden --- | 86 } 87} 88 89// 90// constructor: automatically schedules at specified time 91// 92CountedExitEvent::CountedExitEvent(EventQueue *q, const std::string &_cause, 93 Tick _when, int &_downCounter) --- 76 unchanged lines hidden --- |