Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged_info.cpp103 nr_days = perf_history.nr_days(); in load_perf_history_proto()
139 perf_history->set_nr_days(nr_days); in refresh()
186 if (nr_days < WEEK_TO_DAYS) { in update_perf_history()
187 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
191 DCHECK(nr_days > 0); in update_perf_history()
193 daily_perf.begin() + nr_days, 0) / nr_days; in update_perf_history()
195 nr_days = 0; in update_perf_history()
196 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
222 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()