comm_monitor.hh (10996:d48fda705f4d) comm_monitor.hh (11168:f98eb2da15a4)
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

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

69
70 /**
71 * Constructor based on the Python params
72 *
73 * @param params Python parameters
74 */
75 CommMonitor(Params* params);
76
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

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

69
70 /**
71 * Constructor based on the Python params
72 *
73 * @param params Python parameters
74 */
75 CommMonitor(Params* params);
76
77 void init() M5_ATTR_OVERRIDE;
78 void regStats() M5_ATTR_OVERRIDE;
79 void startup() M5_ATTR_OVERRIDE;
80 void regProbePoints() M5_ATTR_OVERRIDE;
77 void init() override;
78 void regStats() override;
79 void startup() override;
80 void regProbePoints() override;
81
82 public: // MemObject interfaces
83 BaseMasterPort& getMasterPort(const std::string& if_name,
81
82 public: // MemObject interfaces
83 BaseMasterPort& getMasterPort(const std::string& if_name,
84 PortID idx = InvalidPortID) M5_ATTR_OVERRIDE;
84 PortID idx = InvalidPortID) override;
85
86 BaseSlavePort& getSlavePort(const std::string& if_name,
85
86 BaseSlavePort& getSlavePort(const std::string& if_name,
87 PortID idx = InvalidPortID) M5_ATTR_OVERRIDE;
87 PortID idx = InvalidPortID) override;
88
89 private:
90
91 /**
92 * Sender state class for the monitor so that we can annotate
93 * packets with a transmit time and receive time.
94 */
95 class CommMonitorSenderState : public Packet::SenderState

--- 333 unchanged lines hidden ---
88
89 private:
90
91 /**
92 * Sender state class for the monitor so that we can annotate
93 * packets with a transmit time and receive time.
94 */
95 class CommMonitorSenderState : public Packet::SenderState

--- 333 unchanged lines hidden ---