Deleted Added
sdiff udiff text old ( 12396:3d04ea44fafb ) new ( 12811:269967d5b4e4 )
full compact
1/*
2 * Copyright (c) 2012-2013, 2017 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 _name Name to use for status and debug
156 * @param master_id MasterID set on each request
157 * @param _duration duration of this state before transitioning
158 * @param trace_file File to read the transactions from
159 * @param addr_offset Positive offset to add to trace address
160 */
161 TraceGen(const std::string& _name, MasterID master_id, Tick _duration,
162 const std::string& trace_file, Addr addr_offset)
163 : BaseGen(_name, master_id, _duration),
164 trace(trace_file),
165 tickOffset(0),
166 addrOffset(addr_offset),
167 traceComplete(false)
168 {
169 }
170
171 void enter();

--- 42 unchanged lines hidden ---