Searched refs:weekly_perf (Results 1 – 3 of 3) sorted by relevance
78 perf_history.weekly_perf_size() > (int)weekly_perf.size()) { in load_perf_history_proto()108 for (auto bw : perf_history.weekly_perf()) { in load_perf_history_proto()109 weekly_perf[i++] = bw; in load_perf_history_proto()137 for (const uint32_t& bw : weekly_perf) { in refresh()198 weekly_perf[nr_weeks++] = week_avg_bw; in update_perf_history()205 vector<int> ret(3 + recent_perf.size() + daily_perf.size() + weekly_perf.size()); in get_perf_history()209 ret[2] = weekly_perf.size(); in get_perf_history()224 for (size_t i = 0; i < weekly_perf.size(); i++) { in get_perf_history()225 int idx = (weekly_perf.size() + nr_weeks - 1 - i) % weekly_perf.size(); in get_perf_history()226 ret[start + i] = weekly_perf[idx]; in get_perf_history()
50 repeated uint32 weekly_perf = 6; field
57 vector<uint32_t> weekly_perf; variable64 weekly_perf(YEAR_TO_WEEKS, 0), nr_weeks(0) { in storage_info_t()