prg_profile_load()

Abstract

Loads a profile into memory.

Syntax

prg_profile_load (spec)
Argument Type Description
spec const PrgT_Profile_Spec Specification for the profile to be loaded.

Return Type

PrgT_Profile_Handle

Handle to the specified profile, or PRGC_NIL_PROFILE_HANDLE if the profile does not exist.

prg_profile_funcs.h

Details

This function uses a profile specification to locate and load a profile. Typically, the specification is obtained from an object attribute by using Ets_Obj_Attr_Get() or one of the op_ima_obj_attr_get() Kernel Procedures. Once loaded, the data in the profile can be accessed by other Profile package functions. When no longer needed, unload the profile with prg_profile_unload() and free its memory with prg_profile_destroy().

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