Versions Compared

Key

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

...

The Datarate operator calculates the data rate in tuples per second. Use the operator where you want to measure the data rate. The key is the name of the measurement. The values are in a list of tuples, where the first value of the tuple is the key and the second value is the measurement.


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


Hint: For special cases we allow now an updaterate of -1. In this case, the number of elements read so far is written to meta date (i.e. no rate!)