Struct sc_pipe_tdc_histo_params_t

Struct Documentation

struct sc_pipe_tdc_histo_params_t

Parameters for TDC_HISTO pipe type.

The size of one histogram in memory is size * depth bytes.

Public Members

enum bitsize_t depth

Bits per histogram element in memory.

unsigned int channel

Channel is used to build histogram.

unsigned long long modulo

if > 0, apply modulo operation to time value before inserting it into the histogram.

unsigned int binning

Histogram time binning.

unsigned long long offset

Histogram start offset in time bins (see sc_tdc_get_binsize2()).

unsigned int size

Histogram size in time bins (see above).

unsigned int accumulation_ms

Accumulation time.

void *allocator_owner
int (*allocator_cb)(void*, void**)

Parameter for the allocator_cb function. User-provided allocator function, that the library calls to allocate memory for data. If set to NULL, the library uses internal memory allocation. The allocator_owner pointer is passed into the allocator_cb as the first argument during the call.