Rename buffer block size

This commit is contained in:
2020-05-27 09:24:24 +02:00
parent 9940f54e1a
commit 6653421696
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ namespace core_buffer {
// Address where Replay streams and writer receives.
const std::string REPLAY_STREAM_IPC_URL = "ipc:///tmp/sf-replay-";
// How many frames to read at once from file.
const size_t REPLAY_READ_BUFFER_SIZE = 100;
const size_t BUFFER_BLOCK_SIZE = 100;
// How many slots to have in the internal queue between read and send.
const int REPLAY_FASTQUEUE_N_SLOTS = 2;
// How many frames do we buffer in send.
+1 -1
View File
@@ -31,7 +31,7 @@ struct BufferBinaryFormat {
#pragma pack(1)
struct BufferBlock
{
BufferBinaryFormat frame[core_buffer::REPLAY_READ_BUFFER_SIZE];
BufferBinaryFormat frame[core_buffer::BUFFER_BLOCK_SIZE];
uint64_t start_pulse_id;
};
#pragma pack(pop)