Polybench® Reference
Counts in steps of 1.0 starting from 0 each time a sample is sent to the Any input, and resets if a pseudo-boolean true is sent to Reset input



Use this operator to count samples at the input. The value of the samples is not important.

The counter is reset if the reset input is changed from 0 to 1.

Operator ports

Input Any: Any sample type. The connection is not limited to one type of signal.

Input Reset: Floating point values

Output Count: Floating point values


Find more information about changing properties here: link

type: Word or phrase
The name of the object in the project. This name must not contain '.' or '$' characters.

Every object has the Caption property. This property is very important, because it is the name by which Polybench recognizes this object.
It is allowed to give multiple objects the same name, as long as the objects are of the same type. In that case, a reference to this caption includes all the objects with the same caption.
In Polybench, every object can be addressed by an Address specifier, which starts with the dollar sign, for example: $My Page.My Object. 'My Page' would be the Caption of a page, and 'My Object' the Caption of an object on that page.

type: See description
Optional documentation of this object.

It is good practice to write in short notes why you have used this object, and why its properties are set the way they are set. If this object is an operator, the Documentation text is displayed below the operator symbol.


Find more information about Functions here: link

Resets all the counters to 0, or to the value that is specified in the ParameterValue of the function call
Optional reset value. Leave empty if the counters should be reset to ResetValue