| CPC G06F 16/2365 (2019.01) [G06F 16/215 (2019.01)] | 21 Claims |

|
1. A method performed for data being transferred by a producer to a collector via a shared memory at regular intervals, comprising:
maintaining a time-of-day (TOD) variable for storing a time value with a granularity at least as fine as an interval size of the intervals;
by the producer for new data to be written into the shared memory for a given interval, (1) writing the new data into the shared memory with a timestamp for the given interval, and (2) setting the TOD variable to a time value equal to the timestamp; and
by the collector for the new data, (1) reading the TOD variable and timestamp from the shared memory and comparing the TOD variable with the timestamp, (2) in response to the TOD variable being equal to the timestamp, then reading the new data as collected new data from the shared memory, and (3) in response to the TOD variable not being equal to the timestamp, then refraining from reading the new data as collected new data from the shared memory.
|