Skip to main content

setStatisticOutput

Sets the global StatisticOutput to be of the module type specified. Built-in modules include:

  • CSV statOutputCSV
  • Console statOutputConsole
  • Text statOutputTXT
  • JSON statOutputJSON
  • HDF5 statOutputhdf5 (if core is configured with HDF5)

Syntax

sst.setStatisticOutput(stat_output_module, options)

Parameters

  • stat_output_module (type: string) name of the stat output module to load in lib.element format.
  • options (type: dict) OPTIONAL. contents specify the option as dictionary keys with the options value being specified by the corresponding dictionary value.
  • returns none

Example

import sst

sst.setStatisticOutput("sst.statOutputCSV", { "filepath" : "stats.csv", "separator" : "," } )

Import

import sst