sim_events.hh (5606:6da7a58b0bc8) sim_events.hh (7820:4ee66d8c1dd8)
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;

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

85 public:
86 CountedExitEvent(const std::string &_cause, int &_downCounter);
87
88 void process(); // process event
89
90 virtual const char *description() const;
91};
92
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;

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

85 public:
86 CountedExitEvent(const std::string &_cause, int &_downCounter);
87
88 void process(); // process event
89
90 virtual const char *description() const;
91};
92
93//
94// Event to check swap usage
95//
96class CheckSwapEvent : public Event
97{
98 private:
99 int interval;
100
93
101 public:
102 CheckSwapEvent(int ival);
103 void process(); // process event
104
105 virtual const char *description() const;
106};
107
108#endif // __SIM_SIM_EVENTS_HH__
94#endif // __SIM_SIM_EVENTS_HH__