Home
last modified time | relevance | path

Searched refs:weekly_perf (Results 1 – 3 of 3) sorted by relevance

/system/core/storaged/
Dstoraged_info.cpp78 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()
Dstoraged.proto50 repeated uint32 weekly_perf = 6; field
/system/core/storaged/include/
Dstoraged_info.h57 vector<uint32_t> weekly_perf; variable
64 weekly_perf(YEAR_TO_WEEKS, 0), nr_weeks(0) { in storage_info_t()