nrac_resource_load_get()

Abstract

Obtain the load placed on a resource by all consumers; optionally restrict to be relative to a specific event.

Syntax

nrac_resource_load_get (resource_handle, event_handle)
Argument Type Description
resource_handle Nrac_Resource_Handle handle for the resource of interest
event_handle Nrac_Event_Handle handle for an event that is used to restrict the applicable consumers; use NRAC_ANY_EVENT to calculate load irrespective of events.

Return Type

double

load carried by the resource

nrac.h

Details

Each consumer carries a load attribute expressed in the resource units of the network (typically, a unit of bandwidth like Mbps or STS-1). This function returns the load placed by all consumers on the resource of interest. The result can be based solely on the consumers with respect to a specific event or, if NRAC_ANY_EVENT is passed in, then all consumers are taken into account, irrespective of the events upon which they depend.

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