SimMetricsStringOutput

Generates a string representation of the metrics using a generalized CSV format.

trait (Long, SimMetricsAggregator) => Unit
class Object
trait Matchable
class Any

Value members

Concrete methods

def resCSV(separator: String)(m: ResourceMetrics): String

String representation of a ResourceMetrics instance.

String representation of a ResourceMetrics instance.

Value Params
m

the ResourceMetrics instance to be handled

separator

a string (such as a space or comma) to separate the values

def resHeader(separator: String): String

The field names for ResourceMetrics.

The field names for ResourceMetrics.

Value Params
separator

a string (such as a space or comma) to separate the names

def resources(aggregator: SimMetricsAggregator, separator: String, lineSep: String): String

Formats all ResourceMetrics in a SimMetricsAggregator in a single string.

Formats all ResourceMetrics in a SimMetricsAggregator in a single string.

Value Params
aggregator

the SimMetricsAggregator to retrieve the metrics to be formatted

lineSep

a string (such as a new line) to separate resources

separator

a string (such as a space or comma) to separate values

def simCSV(separator: String)(m: SimulationMetrics): String

String representation of a SimulationMetrics instance.

String representation of a SimulationMetrics instance.

Value Params
m

the SimulationMetrics instance to be handled

separator

a string (such as a space or comma) to separate the values

def simHeader(separator: String): String

The field names for SimulationMetrics.

The field names for SimulationMetrics.

Value Params
separator

a string (such as a space or comma) to separate the names

def simulations(aggregator: SimMetricsAggregator, separator: String, lineSep: String): String

Formats all SimulationMetrics in a SimMetricsAggregator in a single string.

Formats all SimulationMetrics in a SimMetricsAggregator in a single string.

Value Params
aggregator

the SimMetricsAggregator to retrieve the metrics to be formatted

lineSep

a string (such as a new line) to separate simulations

separator

a string (such as a space or comma) to separate values

def taskCSV(separator: String, resSeparator: String)(m: TaskMetrics): String

String representation of a TaskMetrics instance.

String representation of a TaskMetrics instance.

Value Params
m

the TaskMetrics instance to be handled

resSeparator

a string (such as a space or comma) to separate the list of names of TaskResources in TaskMetrics

separator

a string (such as a space or comma) to separate the values

def taskHeader(separator: String): String

The field names for TaskMetrics.

The field names for TaskMetrics.

Value Params
separator

a string (such as a space or comma) to separate the names

def tasks(aggregator: SimMetricsAggregator, separator: String, lineSep: String, resSeparator: String): String

Formats all TaskMetrics in a SimMetricsAggregator in a single string.

Formats all TaskMetrics in a SimMetricsAggregator in a single string.

Value Params
aggregator

the SimMetricsAggregator to retrieve the metrics to be formatted

lineSep

a string (such as a new line) to separate tasks

resSeparator

a string (such as a space or comma) to separate the list of names of TaskResources in TaskMetrics

separator

a string (such as a space or comma) to separate values

Inherited methods

Compose with another SimMetricsOutput in sequence.

Compose with another SimMetricsOutput in sequence.

Inherited from
SimMetricsOutput
def apply(v1: Long, v2: SimMetricsAggregator): Unit
Inherited from
Function2
@unspecialized
def curried: Long => SimMetricsAggregator => Unit
Inherited from
Function2
override
def toString(): String
Definition Classes
Function2 -> Any
Inherited from
Function2
@unspecialized
def tupled: (Long, SimMetricsAggregator) => Unit
Inherited from
Function2

Concrete fields

val nullValue: String

A string representing null values.

A string representing null values.