memsnk

Abstract

Displays a list of deallocation sinks for the specified memory category. Each sink is identified by a procedure call stack presented in top-down order. Memory deallocations performed by user-defined processes are evident when a process model name appears as a procedure in a stack list.

Syntax

memsnk <mem_category>

Argument Type Description
<mem_category> string name of memory category
The list of all available memory categories can be displayed by issuing the ODB command “memstats all”. If a memory category name consists of several words separated by spaces, it must be surrounded with double-quote characters.

Details

This command is only functional if the mem_track simulation preference is set to TRUE, indicating that memory tracking data should be maintained. A memory category is a class of memory managed by the Simulation Kernel’s allocator. Memory categories include static model objects allocated during the loading phase of the simulation, dynamic entities (such as packets) that are allocated and deallocated throughout the simulation, and low-level static or dynamic data structures used by the Simulation Kernel. User-defined memory deallocated by the KP op_prg_mem_free() is bundled in the “prg_mem blocks” category.

Example

Example output of the memsnk command

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