Struct cuvis_worker_settings_t
ClassList > cuvis_worker_settings_t
#include <cuvis.h>
Public Attributes
| Type | Name |
|---|---|
| CUVIS_INT | can_drop_results Wether the worker is allowed to drop processing results if its output queue is full. |
| CUVIS_INT | can_skip_measurements Wether the worker is allowed to reject measurements from the acquisition context, if its queues are full. |
| CUVIS_INT | can_skip_supplementary_steps Wether the worker is allowed to skip supplementary processing steps, if its queues are full. |
| CUVIS_SIZE | input_queue_size Size of the input queue for measurements and session files. |
| CUVIS_SIZE | mandatory_queue_size Number of threads working on mandatory processing steps. |
| CUVIS_SIZE | output_queue_size Size of the workers result queue. |
| CUVIS_SIZE | supplementary_queue_size Number of threads working on supplementary processing steps. |
Detailed Description
settings for the worker
Public Attributes Documentation
variable can_drop_results
Wether the worker is allowed to drop processing results if its output queue is full.
CUVIS_INT cuvis_worker_settings_t::can_drop_results;
variable can_skip_measurements
Wether the worker is allowed to reject measurements from the acquisition context, if its queues are full.
CUVIS_INT cuvis_worker_settings_t::can_skip_measurements;
If set to true (1), the worker will skip processing measurements it pulls from the acqusition context, when its mandatory queue is full. If set to false (0), the worker will wait until a processing slot in its mandatory queue is available, before pulling a new measurement from the acquisition context. This setting DOES NOT apply to measurements and session files given to the worker via the "cuvis_worker_ingest_xyz" functions.
variable can_skip_supplementary_steps
Wether the worker is allowed to skip supplementary processing steps, if its queues are full.
CUVIS_INT cuvis_worker_settings_t::can_skip_supplementary_steps;
If set to true (1), the worker will skip supplementary processing steps, when its supplementary queue is full. If set to false (0), the worker will wait until a processing slot in its supplementary queue is available, before starting processing on a new measurement. This setting DOES applies to measurements and session files given to the worker via the "cuvis_worker_ingest_xyz" functions.
variable input_queue_size
Size of the input queue for measurements and session files.
CUVIS_SIZE cuvis_worker_settings_t::input_queue_size;
The worker has an input queue that accepts measurements and entire session files. To limit the memory usage, the queue is bounded by this value
variable mandatory_queue_size
Number of threads working on mandatory processing steps.
CUVIS_SIZE cuvis_worker_settings_t::mandatory_queue_size;
Set the number of processing slots / threads / queue size for mandatory processing steps in the worker Mandatory steps always include exporting the measurement, if an exporter is set in the worker. If the measurement needs to be processed before it can be exported, the processing is also a mandatory step.
variable output_queue_size
Size of the workers result queue.
CUVIS_SIZE cuvis_worker_settings_t::output_queue_size;
Should be at least as big as "mandatory_queue_size" and "supplementary_queue_size" together
variable supplementary_queue_size
Number of threads working on supplementary processing steps.
CUVIS_SIZE cuvis_worker_settings_t::supplementary_queue_size;
Set the number of processing slots / threads / queue size for supplementary processing steps in the worker Supplementary steps always include generating a view of the measurement, if a viewer is set in the worker. If no exporter is set, all steps are supplementary.
The documentation for this class was generated from the following file docs/_api_sources/cuvis.h