summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-07-31 14:44:44 +0300
committerimarom <imarom@cisco.com>2016-07-31 15:50:43 +0300
commitc3a0d7587699ff2a116fb6b5e2800c63e70306a0 (patch)
treedd980bbaaf5e1ce717bd6bb450d5a6307ea1bea1 /src/bp_sim.h
parentdceb010b01e9f8a0e9c905370d39f149f01cab7e (diff)
https://trex-tgn.cisco.com/youtrack/issue/trex-223
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h7
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;
};