Skip to content

Struct search_extra_t

ClassList > search_extra_t

Per-object extra header for an engine's cross-call state. More...

  • #include <correlator_private.h>

Public Attributes

Type Name
uint32_t _pad
uint32_t blk_epoch
double carrier_freq_hz
uint16_t has_nc
uint16_t keep_surface
uint32_t max_peaks
uint64_t n
uint32_t n_noncoh
uint32_t n_twins
uint32_t nc_count
uint32_t rate_hyps
uint64_t samples_consumed
int32_t threads_req
uint32_t zone_all_doppler
double zone_half_chips

Detailed Description

The state blob is the only thing a fresh engine needs to continue a stream from (descriptor, state, input) — it makes the engine a pure transducer for the elastic fan-out (thread / process / pod). Standard bytes interface (see dp_state.h); layout, contiguous and flat:

[ dp_state_hdr_t ] [ uint64_t flavor ] [ search_extra_t ] [ the framer's snapshot ] (the carry, fewer than frame_n samples; its own self-validating child blob) [ float nc_surface[n] ] (only when n_noncoh > 1) [ uint32_t twins[2 * max_peaks] ] (held row, col pairs)

Build the byte buffer with dp_correlator_state_bytes(); set_state validates the envelope (magic/version/size) plus n / n_noncoh below, rejecting a mismatch rather than reinterpreting it.

Public Attributes Documentation

variable _pad

uint32_t search_extra_t::_pad;

Zero: the struct's tail, written.


variable blk_epoch

uint32_t search_extra_t::blk_epoch;

v3: epochs gathered in the block being built


variable carrier_freq_hz

double search_extra_t::carrier_freq_hz;

v8: the carrier (a mutator's value, #2022): the block's raw epochs are ramped at its end by the map, so a restore takes the carrier through dp_correlator_set_carrier_freq_hz()'s rebuild.


variable has_nc

uint16_t search_extra_t::has_nc;

1 if nc_surface[n] follows the samples.


variable keep_surface

uint16_t search_extra_t::keep_surface;

The keep_surface mutator, 0 or 1 (#2022; version 2).


variable max_peaks

uint32_t search_extra_t::max_peaks;

List capacity; must equal the engine's.


variable n

uint64_t search_extra_t::n;

Frame size; must equal engine's n.


variable n_noncoh

uint32_t search_extra_t::n_noncoh;

Non-coherent looks (consistency).


variable n_twins

uint32_t search_extra_t::n_twins;

Last dwell's picks that follow.


variable nc_count

uint32_t search_extra_t::nc_count;

Looks accumulated in the current dump.


variable rate_hyps

uint32_t search_extra_t::rate_hyps;

v6: rate hypotheses searched; must equal the engine's it sizes the search and changes what a surface means.


variable samples_consumed

uint64_t search_extra_t::samples_consumed;

Stream offset framed so far.


variable threads_req

int32_t search_extra_t::threads_req;

CORRELATOR_STATE_VERSION 4: dp_correlator_set_threads()'s n, the REQUEST (a mutator, #2022), restored through the setter, so the target's grid and cores cap it as they would at the call.


variable zone_all_doppler

uint32_t search_extra_t::zone_all_doppler;

CORRELATOR_STATE_VERSION 3: dp_correlator_set_peak_zone()'s all_doppler (a mutator, #2022).


variable zone_half_chips

double search_extra_t::zone_half_chips;

CORRELATOR_STATE_VERSION 3: dp_correlator_set_peak_zone()'s half_chips (a mutator, #2022).



The documentation for this class was generated from the following file native/inc/doppler/correlator/correlator_private.h