2c2
< * Copyright (c) 2012-2013, 2017 ARM Limited
---
> * Copyright (c) 2012-2013, 2017-2018 ARM Limited
64c64
< class LinearGen : public BaseGen
---
> class LinearGen : public StochasticGen
74,75c74
< * @param _name Name to use for status and debug
< * @param master_id MasterID set on each request
---
> * @param gen Traffic generator owning this sequence generator
85c84
< LinearGen(const std::string& _name, MasterID master_id, Tick _duration,
---
> LinearGen(BaseTrafficGen &gen, Tick _duration,
89,93c88,92
< : BaseGen(_name, master_id, _duration),
< startAddr(start_addr), endAddr(end_addr),
< blocksize(_blocksize), minPeriod(min_period),
< maxPeriod(max_period), readPercent(read_percent),
< dataLimit(data_limit), nextAddr(startAddr), dataManipulated(0)
---
> : StochasticGen(gen, _duration, start_addr, end_addr,
> _blocksize, min_period, max_period, read_percent,
> data_limit),
> nextAddr(0),
> dataManipulated(0)
103,124d101
<
< /** Start of address range */
< const Addr startAddr;
<
< /** End of address range */
< const Addr endAddr;
<
< /** Blocksize and address increment */
< const Addr blocksize;
<
< /** Request generation period */
< const Tick minPeriod;
< const Tick maxPeriod;
<
< /**
< * Percent of generated transactions that should be reads
< */
< const uint8_t readPercent;
<
< /** Maximum amount of data to manipulate */
< const Addr dataLimit;
<