Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged_info.cpp100 nr_days = perf_history.nr_days(); in load_perf_history_proto()
136 perf_history->set_nr_days(nr_days); in refresh()
183 if (nr_days < WEEK_TO_DAYS) { in update_perf_history()
184 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
188 DCHECK(nr_days > 0); in update_perf_history()
190 daily_perf.begin() + nr_days, 0) / nr_days; in update_perf_history()
192 nr_days = 0; in update_perf_history()
193 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
219 int idx = (daily_perf.size() + nr_days - 1 - i) % daily_perf.size(); in get_perf_history()
Dstoraged.proto49 optional uint32 nr_days = 5; field
/system/core/storaged/include/
Dstoraged_info.h56 uint32_t nr_days; variable
63 daily_perf(WEEK_TO_DAYS, 0), nr_days(0), in storage_info_t()