The Server Stats Collector block accumulates statistics generated by blocks in your model that implement the ServerStatsGenerator interface. In the properties dialog box associated with the Server Stats Collector block, you can select from a list of available (ServerStatsGenerator) blocks the ones from which you want to collect statistics.
By default, statistics are gathered from the selected blocks at the end of each design point replication run. Options are provided to collect statistics on a continuous basis (whenever the statistics change) or to force an instantaneous update of the statistics.
The Server Stats Collector block uses its data collection facility to store statistics it collects. The statistics can be saved to a SAS data set or JMP table. The statistics are stored in a SimDataModel, which can be accessed through the block’s OutData port. To visualize the statistics, you can connect a display block (such as the Bar Chart block) to the OutData port. Any block connected to the OutData port is automatically notified when the statistics in the SimDataModel are modified.
Output port for the latest updated SimDataModel that contains the statistics held by the Server Stats Collector block.
Output text port for the pathname of a folder that contains the output data set, if the Server Stats Collector block is configured to save its statistics.
Adds the selected blocks to the list of blocks from which to collect statistics.
Removes the selected blocks from the list of blocks from which to collect statistics.
Turns on or off statistics collection whenever a monitored block changes state.
Forces the Server Stats Collector block to attempt an immediate collection of any statistics.
Turns on or off automatic saving of any collected statistics at the end of each design point replication run. If automatic saving is turned on, statistics are saved to a file with the base filename specified in the Base File Name field. Simulation Studio automatically determines the pathname of the folder for this file based on the pathname of the folder that contains your saved project. If the Submit to Remote SAS Workspace Server option is selected, any collected statistics are saved to a file on a remote SAS server. Simulation Studio automatically determines the pathname of the folder for this file on the remote SAS server by using the Default File Path specified in the Simulation Studio Configuration dialog box.
Forces the Server Stats Collector block to attempt an immediate save of any collected statistics. Statistics are saved to the same location as when automatic saving is turned on.
Displays the pathname of the folder for the file in which to save any collected statistics.
Specifies the base filename for the SAS data set or JMP table that is used to save any collected statistics. This name is
the prefix of the actual filename. The zero-based index of the design point and the zero-based index of the replication number
are added as suffixes to the filename, separated by underscore characters. For example, the statistics for the first replication
of the first design point are saved in a file named BaseFileName_0_0
, and the statistics for the second replication of the first design point are saved in a file named BaseFileName_0_1
.