aboutsummaryrefslogtreecommitdiff
path: root/src/rt/circular_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/circular_buffer.h')
-rw-r--r--src/rt/circular_buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rt/circular_buffer.h b/src/rt/circular_buffer.h
index 9ddaba42..40fb1e24 100644
--- a/src/rt/circular_buffer.h
+++ b/src/rt/circular_buffer.h
@@ -24,6 +24,9 @@ public:
size_t size();
private:
+ // Initial size of the buffer in bytes.
+ size_t _initial_sz;
+
// Size of the buffer in bytes, should always be a power of two so that
// modulo arithmetic (x % _buffer_sz) can optimized away with
// (x & (_buffer_sz - 1)).