sim_events.cc (5606:6da7a58b0bc8) sim_events.cc (7492:acc1fbbef239)
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;

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

30
31#include <string>
32
33#include "base/callback.hh"
34#include "base/hostinfo.hh"
35#include "sim/eventq.hh"
36#include "sim/sim_events.hh"
37#include "sim/sim_exit.hh"
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;

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

30
31#include <string>
32
33#include "base/callback.hh"
34#include "base/hostinfo.hh"
35#include "sim/eventq.hh"
36#include "sim/sim_events.hh"
37#include "sim/sim_exit.hh"
38#include "sim/startup.hh"
39#include "sim/stats.hh"
40
41using namespace std;
42
43SimLoopExitEvent::SimLoopExitEvent(const std::string &_cause, int c, Tick r)
44 : Event(Sim_Exit_Pri), cause(_cause), code(c), repeat(r)
45{
46 setFlags(IsExitEvent);

--- 113 unchanged lines hidden ---
38#include "sim/stats.hh"
39
40using namespace std;
41
42SimLoopExitEvent::SimLoopExitEvent(const std::string &_cause, int c, Tick r)
43 : Event(Sim_Exit_Pri), cause(_cause), code(c), repeat(r)
44{
45 setFlags(IsExitEvent);

--- 113 unchanged lines hidden ---