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 --- 136 unchanged lines hidden (view full) --- 147 bool read(TraceElement& element); 148 }; 149 150 public: 151 152 /** 153 * Create a trace generator. 154 * |
155 * @param gen Traffic generator owning this sequence generator |
156 * @param _duration duration of this state before transitioning 157 * @param trace_file File to read the transactions from 158 * @param addr_offset Positive offset to add to trace address 159 */ |
160 TraceGen(BaseTrafficGen &gen, Tick _duration, |
161 const std::string& trace_file, Addr addr_offset) |
162 : BaseGen(gen, _duration), |
163 trace(trace_file), 164 tickOffset(0), 165 addrOffset(addr_offset), 166 traceComplete(false) 167 { 168 } 169 170 void enter(); --- 42 unchanged lines hidden --- |