op_ev_current_execid()

Abstract

Obtains the execution ID of the currently executing event.

Syntax

op_ev_current_execid ()
Argument Type Description
no arguments

Return Type

OpT_uInt64

Execution ID of the currently executing event, or OPC_EV_EXECID_INVALID if there is no valid event.

Example

/* Obtain the currently executing event */
this_event = op_ev_current ();

Details

None.

Purpose

Provides a mechanism to obtain the execution ID of the current event. This can be useful for debugging if you want to stop at a particular event during a simulation run. In this case, you can use this KP to print the execution ID of the event during one run, then use the ODB command evstop <exec ID> in a later run.

Errors

  • No errors are trapped.

Reference

  • None.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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