EventSim/Developers Guide/Measurement Infrastructure
EventSim features a tailor-made measurements infrastructure supporting collection and storage of simulation results.
The following UML class diagram shows the object-oriented design, slightly simplified for better comprehension.
Type parameter E stand for:
Eis the type of the probed element (e.g. anExternalCallAction, or aSimActiveResource)
who is the trigger (e.g. a Request triggering measurements by invoking an ExternalCallAction)
<uml> class MeasuringPoint<E> { element : E property : String contexts : Object[] }
interface IProbe<E> { }
class Measurement<E> { what : String [Metric] where : MeasuringPoint<E> who : Object [Trigger] value : double when : double metadata : Metadata[] }
interface BinaryCalculator { }
IProbe ..> MeasuringPoint : observes > IProbe ..> Measurement : produces > BinaryCalculator --> IProbe : fromProbe BinaryCalculator --> IProbe : toProbe BinaryCalculator ..> Measurement : produces > </uml>