Struct 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¶
running consecutive-look verify counter.
variable down_thresh¶
drop side: miss when metric < down_thresh.
variable locked¶
current decision (1 = locked).
variable n_down¶
consecutive misses required to drop (>= 1).
variable n_up¶
consecutive hits required to declare (>= 1).
variable 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