Deleted Added
sdiff udiff text old ( 10994:51ff41f6a4a5 ) new ( 10995:a114e2712642 )
full compact
1/*
2 * Copyright (c) 2012-2013, 2015 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

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

38 * Andreas Hansson
39 */
40
41#ifndef __MEM_COMM_MONITOR_HH__
42#define __MEM_COMM_MONITOR_HH__
43
44#include "base/statistics.hh"
45#include "mem/mem_object.hh"
46#include "params/CommMonitor.hh"
47#include "proto/protoio.hh"
48#include "sim/probe/mem.hh"
49#include "sim/system.hh"
50
51/**
52 * The communication monitor is a MemObject which can monitor statistics of
53 * the communication happening between two ports in the memory system.

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

411 const double samplePeriod;
412
413 /** Address mask for sources of read accesses to be captured */
414 const Addr readAddrMask;
415
416 /** Address mask for sources of write accesses to be captured */
417 const Addr writeAddrMask;
418
419 /** The system in which the monitor lives */
420 System *const system;
421
422 /** @} */
423
424 /** Output stream for a potential trace. */
425 ProtoOutputStream *traceStream;
426

--- 19 unchanged lines hidden ---