Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged_info.cpp99 nr_days = perf_history.nr_days(); in load_perf_history_proto()
135 perf_history->set_nr_days(nr_days); in refresh()
182 if (nr_days < WEEK_TO_DAYS) { in update_perf_history()
183 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
187 DCHECK(nr_days > 0); in update_perf_history()
189 daily_perf.begin() + nr_days, 0) / nr_days; in update_perf_history()
191 nr_days = 0; in update_perf_history()
192 daily_perf[nr_days++] = daily_avg_bw; in update_perf_history()
218 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()