comm_monitor.hh (9814:7ad2b0186a32) | comm_monitor.hh (10129:eb34ae5204b8) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 32 unchanged lines hidden (view full) --- 41#ifndef __MEM_COMM_MONITOR_HH__ 42#define __MEM_COMM_MONITOR_HH__ 43 44#include "base/statistics.hh" 45#include "base/time.hh" 46#include "mem/mem_object.hh" 47#include "params/CommMonitor.hh" 48#include "proto/protoio.hh" | 1/* 2 * Copyright (c) 2012-2013 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 --- 32 unchanged lines hidden (view full) --- 41#ifndef __MEM_COMM_MONITOR_HH__ 42#define __MEM_COMM_MONITOR_HH__ 43 44#include "base/statistics.hh" 45#include "base/time.hh" 46#include "mem/mem_object.hh" 47#include "params/CommMonitor.hh" 48#include "proto/protoio.hh" |
49#include "sim/system.hh" |
|
49 50/** 51 * The communication monitor is a MemObject which can monitor statistics of 52 * the communication happening between two ports in the memory system. 53 * 54 * Currently the following stats are implemented: Histograms of read/write 55 * transactions, read/write burst lengths, read/write bandwidth, 56 * outstanding read/write requests, read latency and inter transaction time --- 356 unchanged lines hidden (view full) --- 413 /** Address mask for sources of write accesses to be captured */ 414 Addr writeAddrMask; 415 416 /** Instantiate stats */ 417 MonitorStats stats; 418 419 /** Output stream for a potential trace. */ 420 ProtoOutputStream* traceStream; | 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. 54 * 55 * Currently the following stats are implemented: Histograms of read/write 56 * transactions, read/write burst lengths, read/write bandwidth, 57 * outstanding read/write requests, read latency and inter transaction time --- 356 unchanged lines hidden (view full) --- 414 /** Address mask for sources of write accesses to be captured */ 415 Addr writeAddrMask; 416 417 /** Instantiate stats */ 418 MonitorStats stats; 419 420 /** Output stream for a potential trace. */ 421 ProtoOutputStream* traceStream; |
422 423 /** The system in which the monitor lives */ 424 System *system; |
|
421}; 422 423#endif //__MEM_COMM_MONITOR_HH__ | 425}; 426 427#endif //__MEM_COMM_MONITOR_HH__ |