diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-08-25 12:14:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-08-26 08:01:46 +0200 |
commit | dfdc3faa91a415fc0f082cb5737d75eb38817556 (patch) | |
tree | 50da03d23499a58ad7ba679ffa59b237f982e814 /cpukit/include/rtems/recordclient.h | |
parent | record: Fix off by one error (diff) | |
download | rtems-dfdc3faa91a415fc0f082cb5737d75eb38817556.tar.bz2 |
record: Improve overflow handling
Signal the accumulated item overflow count with the time of the first
new item.
Diffstat (limited to 'cpukit/include/rtems/recordclient.h')
-rw-r--r-- | cpukit/include/rtems/recordclient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/include/rtems/recordclient.h b/cpukit/include/rtems/recordclient.h index 2509ba5cc8..7f21d90a0e 100644 --- a/cpukit/include/rtems/recordclient.h +++ b/cpukit/include/rtems/recordclient.h @@ -106,6 +106,11 @@ typedef struct { size_t tail_head_index; /** + * @brief Count of lost items due to ring buffer overflows. + */ + uint32_t overflow; + + /** * @brief If true, then hold back items for overflow or initial ramp up * processing. */ |