Rename parameter to something more sensible

This commit is contained in:
2020-05-15 15:23:24 +02:00
parent 168c04df5a
commit aff1d22c17
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ namespace core_buffer {
const int WRITER_ZMQ_IO_THREADS = 2;
// Size of buffer between the receiving and writing part.
const int WRITER_FASTQUEUE_SLOTS = 5;
const int WRITER_FASTQUEUE_N_SLOTS = 5;
// Number of pulses between each statistics print out.
const size_t STATS_MODULO = 100;
+1 -1
View File
@@ -114,7 +114,7 @@ TEST(FaseQueue, array_parameter)
size_t n_modules = 32;
FastQueue<ModuleFrameBuffer> queue(
n_modules * MODULE_N_BYTES,
WRITER_FASTQUEUE_SLOTS);
WRITER_FASTQUEUE_N_SLOTS);
ModuleFrame frame;
+1 -1
View File
@@ -90,7 +90,7 @@ int main (int argc, char *argv[])
MODULE_N_PIXELS, PIXEL_N_BYTES, MODULE_N_PIXELS);
FastQueue<ImageMetadata> queue(
compress_frame_size * n_modules, WRITER_FASTQUEUE_SLOTS);
compress_frame_size * n_modules, WRITER_FASTQUEUE_N_SLOTS);
auto ctx = zmq_ctx_new();
zmq_ctx_set (ctx, ZMQ_IO_THREADS, WRITER_ZMQ_IO_THREADS);