Esa_Next_Event_Time_Get()

Abstract

Obtains the time of the next scheduled Riverbed Modeler event.

Syntax

Esa_Next_Event_Time_Get (esa_state_ptr, time_ptr)
Argument Type Description
esa_state_ptr EsaT_State_Handle ESA state information generated by Esa_Init()
time_ptr double * will be filled with time of next scheduled event

Return Type

EsaT_Compcode

EsaC_Comp_Success if a time value could be found; EsaC_Comp_Failure otherwise.

esa.h

Details

This function obtains the time of the next scheduled Riverbed Modeler event. This allows a cosimulation to figure out if there is a time difference between the current and next Riverbed Modeler event, during which other cosimulation activities might take place.

Note: The simulation kernel and models do not expect any new events to appear when the “endsim” events are being delivered. After that phase is reached, there is no “next time” because the simulation has reached its end, and this function returns ESAC_TIME_NONE to indicate that situation. If you need to know the endsim time, use Esa_Current_Event_Time_Get().

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com