Searched refs:recent_perf (Results 1 – 4 of 4) sorted by relevance
88 recent_perf.erase(recent_perf.begin() + nr_samples, recent_perf.end()); in load_perf_history_proto()93 recent_perf[i] = bw; in load_perf_history_proto()167 recent_perf.erase(recent_perf.begin() + nr_samples, recent_perf.end()); in update_perf_history()171 if (!recent_perf.empty()) { in update_perf_history()172 daily_avg_bw = accumulate(recent_perf.begin(), recent_perf.end(), 0) / recent_perf.size(); in update_perf_history()179 if (recent_perf.empty()) in update_perf_history()180 recent_perf.resize(1); in update_perf_history()207 ret[0] = recent_perf.size(); in get_perf_history()213 int idx = (recent_perf.size() + nr_samples - 1 - i) % recent_perf.size(); in get_perf_history()235 return accumulate(recent_perf.begin(), recent_perf.end(), recent_perf.size() / 2) / in get_recent_perf()[all …]
178 uint32_t recent_perf = storaged_sp->get_recent_perf(); in getRecentPerf() local179 if (recent_perf > INT32_MAX) { in getRecentPerf()182 *_aidl_return = static_cast<int32_t>(recent_perf); in getRecentPerf()
46 repeated uint32 recent_perf = 2; field
53 vector<uint32_t> recent_perf; variable