Results / ResourceStatistics
Block Name : ResourceStatistics
Code File Location: VisualSim\actor\lib\gui\ ResourceStatistics
This block is used to output the statistics for all the Resource blocks. The following blocks are supported: SystemResource, SystemResource_Extend, Queue, Server, Channel and QuantityShared blocks. The statistics will be sent on the output port.
Refer ResourceStatistics Demo Model.
Parameter |
Explanation |
Type |
Example |
Resource_List |
List of SystemResource, SystemResource_Extend, Queue, Server, Channel and QuantityShared blocks |
Array of Srings |
{"SR1","Queue_2","Server3","Channel4","QSR5"} |
ResourceList_Length |
Number of Queues in the SystemResource, SystemResource_Extend, Queue, Server, Channel and QuantityShared blocks. SystemResource and SystemResource_Extend will be 1. The order must match the order of the Resource_List. |
Array of Integers |
{1,2,3,4,5} |
Number_of_Samples |
Number of times the statistics must be generated/reset during the simulation. |
Integer |
2 |
Statistics |
Set this to true to output statistics and set to false to output and reset statistics. |
Boolean |
true or false |
Port |
Explanation |
Type |
port |
Statistics |
Data Structure |
Created with the Personal Edition of HelpNDoc: Free Web Help generator