off enter execs
来自「opnet网络仿真」· 代码 · 共 14 行
TXT
14 行
/* Determine the time for which the process remains in */
/* the "OFF" (inactive) state. This is determined by */
/* the distribution loaded to characterize the "OFF" */
/* state duration (i.e., time for which the source */
/* does not generate any packets. */
off_period = oms_dist_outcome (off_state_dist_handle);
/* Schedule a self-interrupt to transit to the "ON" */
/* when the "OFF" state duration expires. */
if (op_sim_time () + off_period < stop_time)
op_intrpt_schedule_self (op_sim_time () + off_period, OFF_TO_ON);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?