summaryrefslogtreecommitdiffstats
path: root/src/bp_sim.h
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-10-26 15:00:50 +0200
committerimarom <imarom@cisco.com>2016-10-26 15:22:47 +0200
commit7d129c00303a5df1d6af331781139dc2d447d0d8 (patch)
treeb606ea8a8bde53a69a27d128f55b349a55e20a9b /src/bp_sim.h
parent270cf64af087f110fd69064017edc311ddf82025 (diff)
fixed performance issue (moved STRECH case to low priority cases)
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'src/bp_sim.h')
-rwxr-xr-xsrc/bp_sim.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/bp_sim.h b/src/bp_sim.h
index 0af27b95..f7a1e73c 100755
--- a/src/bp_sim.h
+++ b/src/bp_sim.h
@@ -2142,7 +2142,19 @@ private:
CFlowGenListPerThread * thread,
double &old_offset);
- FORCE_NO_INLINE void handle_time_strech(dsec_t cur_time, dsec_t dt, dsec_t &offset, CFlowGenListPerThread * thread);
+ FORCE_NO_INLINE void handle_slow_operations(sch_state_t &state,
+ CGenNode * &node,
+ dsec_t &cur_time,
+ dsec_t &n_time,
+ dsec_t &offset,
+ CFlowGenListPerThread *thread);
+
+ void handle_time_strech(CGenNode * &node,
+ dsec_t &cur_time,
+ dsec_t &n_time,
+ dsec_t &offset,
+ CFlowGenListPerThread *thread);
+
private:
void handle_command(CGenNode *node, CFlowGenListPerThread *thread, bool &exit_scheduler);