camflow-dev icon indicating copy to clipboard operation
camflow-dev copied to clipboard

Ring Buffer Improvement

Open tfjmp opened this issue 3 years ago • 2 comments

Add:

  • Log if we overwrite.
  • Means to have some information about the state of the buffers.

tfjmp avatar Jul 29 '21 19:07 tfjmp

Noting also that it might potentially be useful to be able to check the state-of-buffer information from user-space, e.g., to determine whether records are likely to have been flushed or not (e.g., if the ring buffers are empty).

dme26 avatar Jul 29 '21 19:07 dme26

As of this commit: https://github.com/CamFlow/camflow-dev/commit/27e515872a0644b16484403f3336f8fa6361bf43

Can check from userspace how many graph elements have been dropped.

May look next as how to know how full the queue currently is.

tfjmp avatar Aug 04 '21 16:08 tfjmp