Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

To use Datarate, the datarate feature must be installed.

Data rate calcs the rate by which elements are processed by Odysseus (elements per seconds). You can use as many measurement positions as you want.

You can access the meta data from every stream element (e.g. in MEP or in Select operator) with

  • Datarate.Measurements: Here your will get a list of tuples with [Key: the place of this measurement,Datarate: The datarate at this place]

The usage of Datarate can be defined in Odysseus Script with the #METADATA command or in the Access operator with the METAATTRIBUTE parameter.

The Datarate operator calculates the data rate in tuples per second. Use the operator where you want to measure the data rate. 

Code Block
/// Measure the data rate
drate = DATARATE({UPDATERATE = 1000, KEY='MEASUREMENT_1'}, previousOperator)