Based on a continuous realtime event stream (where time of every event is easily known, but each event has no value, they are all identical), how program a filter/process th
By averaging. for example everytime you get an event add one to a. every second remove 1/60 of a. it will give you a simple average with a sliding window of about one minute.