snapshot

Abstract

Creates an output vector file with the specified name. The file includes all statistic values from the beginning of the simulation to the time when the snapshot command is issued.

Syntax

snapshot <filename>

Argument Type Description
<filename> string name of the output vector file
This argument should not include the .ov suffix, which is automatically appended. The specified name must be different from the simulation’s nominal output vector filename, which either is defined by the value of the ov_file preference, or defaults to the name of the network model.

Details

This command can be issued multiple times within a simulation run; each successive output file which is generated contains all of the statistics values from the previous output file, in addition to any values which have been recorded in the simulation interval between the snapshots. Since snapshot-generated output vector files are complete, they can be read in by the Analysis Tool while a simulation is still running or breakpointed within ODB.

Example

ODB> tstop 100
Added breakpoint #0: stop at time = (100) sec.

ODB> cont


____________________________ (ODB 18.6.0: Event) ____________________________

     * Time   :  100.0 sec, [1m 40s]
     * Event  :  execution ID (729), schedule ID (#726), type (self intrpt)
     * Source :  execution ID (721), top.pksw1.node_0.src [Objid=11] (processor)
     * Data   :  code (1)
     > Module :  top.pksw1.node_0.src [Objid=11] (processor) [process id: 0]

breakpoint #0 trapped : "stop at time = (100) sec."

ODB> snapshot pksw_100

[The output file pksw_100.ov is written out to the model directory that contains the simulation file.]

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