Searched refs:n_history (Results 1 – 1 of 1) sorted by relevance
73 unsigned history_idx, n_history; member140 while (s->n_history > s->min_history) { in drop_old()150 s->n_history --; in drop_old()160 for (j = s->n_history; j > 0; j--) { in add_to_history()174 j = s->history_idx + s->n_history; in add_to_history()182 s->n_history ++; in add_to_history()185 if (s->n_history > HISTORY_MAX) { in add_to_history()186 s->history_idx += s->n_history - HISTORY_MAX; in add_to_history()188 s->n_history = HISTORY_MAX; in add_to_history()205 if (s->n_history < s->min_history) in avg_gradient()[all …]