comm_monitor.hh (12084:5a3769ff3d55) comm_monitor.hh (13573:3223a8c1c3dd)
1/*
1/*
2 * Copyright (c) 2012-2013, 2015 ARM Limited
2 * Copyright (c) 2012-2013, 2015, 2018 ARM Limited
3 * Copyright (c) 2016 Google Inc.
4 * Copyright (c) 2017, Centre National de la Recherche Scientifique
5 * All rights reserved.
6 *
7 * The license below extends only to copyright in the software and shall
8 * not be construed as granting a license to any other intellectual
9 * property including but not limited to intellectual property relating
10 * to a hardware implementation of the functionality of the software

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

227 return mon.getAddrRanges();
228 }
229
230 void recvRespRetry()
231 {
232 mon.recvRespRetry();
233 }
234
3 * Copyright (c) 2016 Google Inc.
4 * Copyright (c) 2017, Centre National de la Recherche Scientifique
5 * All rights reserved.
6 *
7 * The license below extends only to copyright in the software and shall
8 * not be construed as granting a license to any other intellectual
9 * property including but not limited to intellectual property relating
10 * to a hardware implementation of the functionality of the software

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

227 return mon.getAddrRanges();
228 }
229
230 void recvRespRetry()
231 {
232 mon.recvRespRetry();
233 }
234
235 bool tryTiming(PacketPtr pkt)
236 {
237 return mon.tryTiming(pkt);
238 }
239
235 private:
236
237 CommMonitor& mon;
238
239 };
240
241 /** Instance of slave port, i.e. on the CPU side */
242 MonitorSlavePort slavePort;

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

264 bool isSnooping() const;
265
266 void recvReqRetry();
267
268 void recvRespRetry();
269
270 void recvRangeChange();
271
240 private:
241
242 CommMonitor& mon;
243
244 };
245
246 /** Instance of slave port, i.e. on the CPU side */
247 MonitorSlavePort slavePort;

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

269 bool isSnooping() const;
270
271 void recvReqRetry();
272
273 void recvRespRetry();
274
275 void recvRangeChange();
276
277 bool tryTiming(PacketPtr pkt);
278
272 /** Stats declarations, all in a struct for convenience. */
273 struct MonitorStats
274 {
275
276 /** Disable flag for burst length histograms **/
277 bool disableBurstLengthHists;
278
279 /** Histogram of read burst lengths */

--- 166 unchanged lines hidden ---
279 /** Stats declarations, all in a struct for convenience. */
280 struct MonitorStats
281 {
282
283 /** Disable flag for burst length histograms **/
284 bool disableBurstLengthHists;
285
286 /** Histogram of read burst lengths */

--- 166 unchanged lines hidden ---