Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged_info.cpp77 perf_history.daily_perf_size() > (int)daily_perf.size() || in load_perf_history_proto()
102 for (auto bw : perf_history.daily_perf()) { in load_perf_history_proto()
103 daily_perf[i++] = bw; in load_perf_history_proto()
133 for (const uint32_t& bw : daily_perf) { in refresh()
184 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
189 uint32_t week_avg_bw = accumulate(daily_perf.begin(), in update_perf_history()
190 daily_perf.begin() + nr_days, 0) / nr_days; in update_perf_history()
193 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
205 vector<int> ret(3 + recent_perf.size() + daily_perf.size() + weekly_perf.size()); in get_perf_history()
208 ret[1] = daily_perf.size(); in get_perf_history()
[all …]
Dstoraged.proto48 repeated uint32 daily_perf = 4; field
/system/core/storaged/include/
Dstoraged_info.h55 vector<uint32_t> daily_perf; variable
63 daily_perf(WEEK_TO_DAYS, 0), nr_days(0), in storage_info_t()