idle_gen.hh (12804:f47e75dce5c6) idle_gen.hh (12811:269967d5b4e4)
1/*
1/*
2 * Copyright (c) 2012-2013, 2017 ARM Limited
2 * Copyright (c) 2012-2013, 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
9 * licensed here under. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

56/**
57 * The idle generator does nothing.
58 */
59class IdleGen : public BaseGen
60{
61
62 public:
63
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
9 * licensed here under. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

56/**
57 * The idle generator does nothing.
58 */
59class IdleGen : public BaseGen
60{
61
62 public:
63
64 IdleGen(const std::string& _name, MasterID master_id, Tick _duration)
65 : BaseGen(_name, master_id, _duration)
64 IdleGen(BaseTrafficGen &gen, Tick _duration)
65 : BaseGen(gen, _duration)
66 { }
67
68 void enter();
69
70 PacketPtr getNextPacket();
71
72 Tick nextPacketTick(bool elastic, Tick delay) const ;
73};
74
75#endif
66 { }
67
68 void enter();
69
70 PacketPtr getNextPacket();
71
72 Tick nextPacketTick(bool elastic, Tick delay) const ;
73};
74
75#endif