创建实时统计量探针(Create Live Statistics Probe)

该操作创建一个实时统计量探针。实时统计量在仿真运行期间即被绘制成图,显示在 Simulation Progress 对话框的 Live Stats 页面。

注意: 有维统计量(由一组数值数组构成的统计量)以及收集模式为 “all values” 的统计量无法使用实时统计量。

你可以直接在 Project Editor 或 Probe Editor 中创建实时统计量探针,如下述过程所述。

过程 224:在 Project Editor 中创建实时统计量探针

  1. 通过下列方式之一打开 Choose Results 对话框:

    • 选择 DES > Choose Individual Statistics…
    • 在节点上或工作区中右键单击,然后在弹出菜单中选择 Choose Individual DES Statistics。
  2. 在树形列表中选择一个统计量。

  3. 执行以下操作之一:

    • 在 Data Collection 下,选中 “Generate live statistic” 复选框。
    • 右键单击统计量名称,然后在弹出菜单中选择 “Generate live statistic”。
  4. 单击 OK。

过程 225:在 Probe Editor 中创建实时统计量探针

  1. 选择 Objects > Create Live Statistic Probe,或单击相应的工具栏按钮。

    *结果:*一个实时统计量探针被添加到树的 Live Statistic Probes 分支。

  2. 右键单击该探针,显示 Probe Editor 弹出菜单。

    *结果:*Probe Editor 弹出菜单打开。

  3. 在 Probe Editor 弹出菜单中选择 Edit Attributes。

    *结果:*Object Attributes 对话框出现。

  4. 在 “statistic” 属性的 Value 单元格中单击。

    *结果:*出现可探测的统计量列表。

    注意: 有维统计量(由一组数值数组构成的统计量)以及收集模式为 “all values” 的统计量不能作为实时统计量选择。

  5. 单击所需的统计量。

  6. 单击 OK。

    *结果:*Object Attributes 对话框关闭,指定的统计量出现在树形列表中。