create

open override fun create(node: Container<*>, scenario: Scenario): MetricGroup

Creates a throughput metric for a specific node (uses default time unit of hours).

Return

a metric group containing the throughput and its statistical moments

Parameters

node

the container to track throughput for

scenario

the scenario containing all nodes


Creates a throughput metric for a specific node with optional time unit.

Return

a metric group containing the throughput and its statistical moments

Parameters

node

the container to track throughput for

unit

the time unit for the rate (default: hours)


open override fun create(scenario: Scenario): MetricGroup

Creates a global throughput metric across the entire scenario (uses default time unit of hours).

Return

a metric group containing the global throughput and its statistical moments

Parameters

scenario

the scenario to create a global metric for


fun create(scenario: Scenario, unit: DurationUnit): MetricGroup

Creates a global throughput metric across the entire scenario with optional time unit.

Return

a metric group containing the global throughput and its statistical moments

Parameters

scenario

the scenario to create a global metric for

unit

the time unit for the rate (default: hours)