Skip to content

Struct lockdet_state_t

ClassList > lockdet_state_t

Lock-detector state (embeddable by value; pointer-free POD).

  • #include <lockdet_core.h>

Public Attributes

Type Name
uint32_t cnt
double down_thresh
int locked
uint32_t n_down
uint32_t n_up
double up_thresh

Public Attributes Documentation

variable cnt

uint32_t lockdet_state_t::cnt;

running consecutive-look verify counter.


variable down_thresh

double lockdet_state_t::down_thresh;

drop side: miss when metric < down_thresh.


variable locked

int lockdet_state_t::locked;

current decision (1 = locked).


variable n_down

uint32_t lockdet_state_t::n_down;

consecutive misses required to drop (>= 1).


variable n_up

uint32_t lockdet_state_t::n_up;

consecutive hits required to declare (>= 1).


variable up_thresh

double lockdet_state_t::up_thresh;

declare side: hit when metric > up_thresh.



The documentation for this class was generated from the following file native/inc/lockdet/lockdet_core.h