diff options
author | imarom <imarom@cisco.com> | 2016-06-19 18:05:54 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-06-20 11:55:13 +0300 |
commit | 3ca8be805c26eddfe40c254bdca4e5ae71eee792 (patch) | |
tree | fd2b06c04de32b6bad4f5d71203422fa7292efe2 /src/stateless/rx/trex_stateless_rx_core.h | |
parent | 1bc9c49fa89a3942d3d1516217635d0c6e6b0c56 (diff) |
WATCHDOG - refactor due to trex-211
Diffstat (limited to 'src/stateless/rx/trex_stateless_rx_core.h')
-rw-r--r-- | src/stateless/rx/trex_stateless_rx_core.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stateless/rx/trex_stateless_rx_core.h b/src/stateless/rx/trex_stateless_rx_core.h index ce1bc1ad..dfc56e4d 100644 --- a/src/stateless/rx/trex_stateless_rx_core.h +++ b/src/stateless/rx/trex_stateless_rx_core.h @@ -95,7 +95,7 @@ class CRxCoreStateless { }; public: - void start(TrexWatchDog &watchdog); + void start(); void create(const CRxSlCfg &cfg); void reset_rx_stats(uint8_t port_id); int get_rx_stats(uint8_t port_id, rx_per_flow_t *rx_stats, int min, int max, bool reset @@ -126,8 +126,7 @@ class CRxCoreStateless { private: - TrexWatchDog *m_watchdog; - int m_watchdog_handle; + TrexMonitor m_monitor; uint32_t m_max_ports; bool m_has_streams; |