diff options
author | imarom <imarom@cisco.com> | 2016-07-31 14:44:44 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-07-31 15:50:43 +0300 |
commit | c3a0d7587699ff2a116fb6b5e2800c63e70306a0 (patch) | |
tree | dd980bbaaf5e1ce717bd6bb450d5a6307ea1bea1 /src/bp_sim.h | |
parent | dceb010b01e9f8a0e9c905370d39f149f01cab7e (diff) |
https://trex-tgn.cisco.com/youtrack/issue/trex-223
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-x | src/bp_sim.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h index b4ef54d1..7f9fee81 100755 --- a/src/bp_sim.h +++ b/src/bp_sim.h @@ -2067,7 +2067,7 @@ public: #define BURST_OFFSET_DTIME (100.0/1000000) #define EAT_WINDOW_DTIME (15.0/1000000) #define WAIT_WINDOW_SIZE (-1.0/1000000) - + bool Create(CFlowGenListPerThread * parent); void Delete(); @@ -2173,11 +2173,15 @@ private: bool always, CFlowGenListPerThread * thread, double &old_offset); + + FORCE_NO_INLINE void handle_time_strech(dsec_t cur_time, dsec_t dt, dsec_t &offset, CFlowGenListPerThread * thread); + private: void handle_command(CGenNode *node, CFlowGenListPerThread *thread, bool &exit_scheduler); void handle_flow_pkt(CGenNode *node, CFlowGenListPerThread *thread); void handle_flow_sync(CGenNode *node, CFlowGenListPerThread *thread, bool &exit_scheduler); void handle_pcap_pkt(CGenNode *node, CFlowGenListPerThread *thread); + void handle_maintenance(CFlowGenListPerThread *thread); public: pqueue_t m_p_queue; @@ -2190,6 +2194,7 @@ public: uint64_t m_non_active; uint64_t m_limit; CTimeHistogram m_realtime_his; + const CGenNode *m_flow_sync_node; }; |