diff options
author | imarom <imarom@cisco.com> | 2016-03-10 10:21:37 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-10 17:16:38 +0200 |
commit | 3c2f0346b3743d27ef0a02e44726f11fdb73417d (patch) | |
tree | f4f1837f135581383afbb667cde20a96645113db /src/internal_api | |
parent | 8b0bb76f7987e33ff1b13b5bdf360a9e15f96c68 (diff) |
RX stats #2
Diffstat (limited to 'src/internal_api')
-rw-r--r-- | src/internal_api/trex_platform_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal_api/trex_platform_api.h b/src/internal_api/trex_platform_api.h index e9cf56d7..f8f76584 100644 --- a/src/internal_api/trex_platform_api.h +++ b/src/internal_api/trex_platform_api.h @@ -139,7 +139,7 @@ public: virtual void get_interface_info(uint8_t interface_id, intf_info_st &info) const = 0; - virtual void publish_async_data_now(uint32_t key) const = 0; + virtual void publish_async_data_now(uint32_t key, bool baseline) const = 0; virtual uint8_t get_dp_core_count() const = 0; virtual void get_interface_stat_info(uint8_t interface_id, uint16_t &num_counters, uint16_t &capabilities) const =0; virtual int get_flow_stats(uint8_t port_id, uint64_t *stats, void *tx_stats, int min, int max, bool reset) const = 0; @@ -168,7 +168,7 @@ public: void get_interface_info(uint8_t interface_id, intf_info_st &info) const; - void publish_async_data_now(uint32_t key) const; + void publish_async_data_now(uint32_t key, bool baseline) const; uint8_t get_dp_core_count() const; void get_interface_stat_info(uint8_t interface_id, uint16_t &num_counters, uint16_t &capabilities) const; int get_flow_stats(uint8_t port_id, uint64_t *stats, void *tx_stats, int min, int max, bool reset) const; @@ -222,7 +222,7 @@ public: } } - virtual void publish_async_data_now(uint32_t key) const { + virtual void publish_async_data_now(uint32_t key, bool baseline) const { } virtual int get_flow_stats(uint8_t port_id, uint64_t *stats, void *tx_stats, int min, int max, bool reset) const {return 0;}; |