|
Loading
|
||||
Performance options functionsThere are a number of functions that can be used to access and change options related to Performance analysis.
The following can be used to check or select which statistics will be saved in simulation and replication performance reports. In most cases, it will not be necessary to use the following functions, because net-specific options in the Overview of a net are used to select statistics.
Examples of useThe following can be used to check which timed statistics will be saved in simulation performance reports.
If the Evaluate ML tool is applied to the code above, then the result would be the following
val x =
{avrg=true,ci=false,count=true,first=false,interval=true,last=false,
lasttime=false,max=true,min=true,ss=false,ssd=false,starttime=false,
std=false,sum=false,vari=false}
: {avrg:bool, ci:bool, count:bool, first:bool, interval:bool, last:bool,
lasttime:bool, max:bool, min:bool, ss:bool, ssd:bool, starttime:bool,
std:bool, sum:bool, vari:bool}
To select which timed statistics should be included in simulation performance reports, the following could be either evaluated using the Evaluate ML tool before a simulation is started or called in a function that is called before a simulation is started.
val selectTimed = CPN'PerfReport.selectTimedStats(
{avrg=true,c i=false,count=true,first=false,last=false,max=true,min=true,
ss=false,ssd=false,std=false,sum=false,vari=false,interval=true,
starttime=false,lasttime=false})
Related pages |
||||