1/* |
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 |
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 |