exit_gen.hh (12811:269967d5b4e4) exit_gen.hh (12844:c934a1338314)
1/*
2 * Copyright (c) 2017-2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

51 * The exit generator exits from the simulation
52 * once entered.
53 */
54class ExitGen : public BaseGen
55{
56
57 public:
58
1/*
2 * Copyright (c) 2017-2018 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

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

51 * The exit generator exits from the simulation
52 * once entered.
53 */
54class ExitGen : public BaseGen
55{
56
57 public:
58
59 ExitGen(BaseTrafficGen &gen, Tick _duration)
60 : BaseGen(gen, _duration)
59 ExitGen(SimObject &obj, MasterID master_id, Tick _duration)
60 : BaseGen(obj, master_id, _duration)
61 { }
62
63 void enter();
64
65 PacketPtr getNextPacket();
66
67 Tick nextPacketTick(bool elastic, Tick delay) const;
68
69};
70
71#endif
61 { }
62
63 void enter();
64
65 PacketPtr getNextPacket();
66
67 Tick nextPacketTick(bool elastic, Tick delay) const;
68
69};
70
71#endif