comm_monitor.hh (10994:51ff41f6a4a5) | comm_monitor.hh (10995:a114e2712642) |
---|---|
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" | 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 "mem/stack_dist_calc.hh" | |
47#include "params/CommMonitor.hh" 48#include "proto/protoio.hh" 49#include "sim/probe/mem.hh" 50#include "sim/system.hh" 51 52/** 53 * The communication monitor is a MemObject which can monitor statistics of 54 * the communication happening between two ports in the memory system. --- 357 unchanged lines hidden (view full) --- 412 const double samplePeriod; 413 414 /** Address mask for sources of read accesses to be captured */ 415 const Addr readAddrMask; 416 417 /** Address mask for sources of write accesses to be captured */ 418 const Addr writeAddrMask; 419 | 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 |
420 /** Optional stack distance calculator */ 421 StackDistCalc *const stackDistCalc; 422 | |
423 /** The system in which the monitor lives */ 424 System *const system; 425 426 /** @} */ 427 428 /** Output stream for a potential trace. */ 429 ProtoOutputStream *traceStream; 430 --- 19 unchanged lines hidden --- | 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 --- |