Home
last modified time | relevance | path

Searched refs:recent_perf (Results 1 – 4 of 4) sorted by relevance

/system/core/storaged/
Dstoraged_info.cpp87 if (nr_samples < recent_perf.size()) { in load_perf_history_proto()
88 recent_perf.erase(recent_perf.begin() + nr_samples, recent_perf.end()); in load_perf_history_proto()
91 for (auto bw : perf_history.recent_perf()) { in load_perf_history_proto()
92 if (i < recent_perf.size()) { in load_perf_history_proto()
93 recent_perf[i] = bw; in load_perf_history_proto()
95 recent_perf.push_back(bw); in load_perf_history_proto()
129 for (const uint32_t& bw : recent_perf) { in refresh()
157 if (nr_samples >= recent_perf.size()) { in update_perf_history()
158 recent_perf.push_back(bw); in update_perf_history()
160 recent_perf[nr_samples] = bw; in update_perf_history()
[all …]
Dstoraged_service.cpp178 uint32_t recent_perf = storaged_sp->get_recent_perf(); in getRecentPerf() local
179 if (recent_perf > INT32_MAX) { in getRecentPerf()
182 *_aidl_return = static_cast<int32_t>(recent_perf); in getRecentPerf()
Dstoraged.proto46 repeated uint32 recent_perf = 2; field
/system/core/storaged/include/
Dstoraged_info.h53 vector<uint32_t> recent_perf; variable