TaskProcessorPerformance

inner class TaskProcessorPerformance(parent: ModelElement, processor: TaskProcessingSystem.TaskProcessorIfc, val allPerformance: Boolean = false, name: String? = null) : ModelElement(source)

Used to collect statistical performance for a processor based on accumulated state information from within replications. Performance is across replications.

Parameters

parent

the parent of the model element

processor

the processor being observed for performance

allPerformance

if false, only busy state performance is collected. If true then all state performance is collected. The default is false.

name

the name of the model element

Constructors

Link copied to clipboard
constructor(parent: ModelElement, processor: TaskProcessingSystem.TaskProcessorIfc, allPerformance: Boolean = false, name: String? = null)

Properties

Functions

Link copied to clipboard
protected open override fun initialize()

This method should be overridden by subclasses that need actions performed to initialize prior to a replication. It is called once before each replication occurs if the model element wants initialization. It is called after beforeReplication() is called

Link copied to clipboard
protected open override fun replicationEnded()

This method should be overridden by subclasses that need actions performed when the replication ends and prior to the calling of afterReplication(). It is called when each replication ends and can be used to collect data from the model element, etc.

Link copied to clipboard
protected open override fun warmUp()

This method should be overridden by subclasses that need actions performed at the warm-up event during each replication. It is called once during each replication if the model element reacts to warm-up actions.