Metrics for a simulation that has already started.
- Value Params
- cost
the total cost associated with the simulation so far
- delay
the sum of all delays for all involved TaskInstances
- duration
the virtual duration of the simulation
- name
the unique name of the simulation
- result
a
String
representation of the returned result from the simulation, or scala.None if it still running. In case of failure, the field is populated with the localized message of the exception thrown- started
the virtual timestamp when the simulation started executing
- tasks
the number of TaskInstances associated with the simulation so far
- Companion
- object
Value members
Concrete methods
Updates the metrics given that the simulation has completed with a certain result.
Updates the metrics given that the simulation has completed with a certain result.
- Value Params
- res
the result of the simulation or localized message of the exception in case of failure
- time
the virtual timestamp when the simulation finished
Updates the metrics given a new TaskInstance that is created as part of the simulation.
Updates the metrics given a new TaskInstance that is created as part of the simulation.