Searched refs:nr_weeks (Results 1 – 3 of 3) sorted by relevance
106 nr_weeks = perf_history.nr_weeks(); in load_perf_history_proto()140 perf_history->set_nr_weeks(nr_weeks); in refresh()195 if (nr_weeks >= YEAR_TO_WEEKS) { in update_perf_history()196 nr_weeks = 0; in update_perf_history()198 weekly_perf[nr_weeks++] = week_avg_bw; in update_perf_history()225 int idx = (weekly_perf.size() + nr_weeks - 1 - i) % weekly_perf.size(); in get_perf_history()
51 optional uint32 nr_weeks = 7; field
58 uint32_t nr_weeks; variable64 weekly_perf(YEAR_TO_WEEKS, 0), nr_weeks(0) { in storage_info_t()