diff options
author | imarom <imarom@cisco.com> | 2016-04-10 11:01:24 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-04-10 12:37:22 +0300 |
commit | 9823cf0a2acfa3eed27613bf357d82c241889cba (patch) | |
tree | bb8d08ce562617c8584b5a0c914746bca1894718 /src/stateless/dp | |
parent | 8ac45c1c3b2d10d4679fd2c662b6a78c2c2c27a5 (diff) |
multicore tests new goldens (because of phase)
Diffstat (limited to 'src/stateless/dp')
-rw-r--r-- | src/stateless/dp/trex_stream_node.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/stateless/dp/trex_stream_node.h b/src/stateless/dp/trex_stream_node.h index d756ba43..19a27350 100644 --- a/src/stateless/dp/trex_stream_node.h +++ b/src/stateless/dp/trex_stream_node.h @@ -175,10 +175,6 @@ public: return ((m_pause | m_null_stream) == 0); } - bool is_null_stream() { - return (m_null_stream == 1); - } - inline uint8_t get_stream_type(){ return (m_stream_type); } @@ -235,7 +231,7 @@ public: if ( m_multi_bursts == 0 ) { set_state(CGenNodeStateless::ss_INACTIVE); if ( thread->set_stateless_next_node(this,m_next_stream) ){ - /* update the next stream time using isg */ + /* update the next stream time using isg and post phase */ m_next_stream->update_refresh_time(m_time + m_ref_stream_info->m_mc_phase_post_sec); thread->m_node_gen.m_p_queue.push( (CGenNode *)m_next_stream); @@ -245,6 +241,7 @@ public: } }else{ + /* next burst is like starting a new stream - add pre and post phase */ m_time += get_multi_ibg_sec() + m_ref_stream_info->m_mc_phase_post_sec + m_ref_stream_info->m_mc_phase_pre_sec; m_single_burst = m_single_burst_refill; thread->m_node_gen.m_p_queue.push( (CGenNode *)this); |