Home
last modified time | relevance | path

Searched refs:perf_history (Results 1 – 7 of 7) sorted by relevance

/system/core/storaged/
Dstoraged_utils.cpp95 void log_console_perf_history(const vector<int>& perf_history) { in log_console_perf_history() argument
96 if (perf_history.size() < 3 || in log_console_perf_history()
97 perf_history.size() != perf_history[0] + in log_console_perf_history()
98 perf_history[1] + in log_console_perf_history()
99 perf_history[2] + (size_t)3) { in log_console_perf_history()
107 int end = 3 + perf_history[0]; in log_console_perf_history()
108 std::copy(perf_history.begin() + start, perf_history.begin() + end, in log_console_perf_history()
114 end += perf_history[1]; in log_console_perf_history()
115 std::copy(perf_history.begin() + start, perf_history.begin() + end, in log_console_perf_history()
121 std::copy(perf_history.begin() + start, perf_history.end(), in log_console_perf_history()
Dstoraged_info.cpp72 void storage_info_t::load_perf_history_proto(const IOPerfHistory& perf_history) in load_perf_history_proto() argument
76 if (!perf_history.has_day_start_sec() || in load_perf_history_proto()
77 perf_history.daily_perf_size() > (int)daily_perf.size() || in load_perf_history_proto()
78 perf_history.weekly_perf_size() > (int)weekly_perf.size()) { in load_perf_history_proto()
84 day_start_tp += chrono::seconds(perf_history.day_start_sec()); in load_perf_history_proto()
86 nr_samples = perf_history.nr_samples(); in load_perf_history_proto()
91 for (auto bw : perf_history.recent_perf()) { in load_perf_history_proto()
100 nr_days = perf_history.nr_days(); in load_perf_history_proto()
102 for (auto bw : perf_history.daily_perf()) { in load_perf_history_proto()
106 nr_weeks = perf_history.nr_weeks(); in load_perf_history_proto()
[all …]
Dmain.cpp164 vector<int> perf_history; in main() local
165 binder::Status status = storaged_service->dumpPerfHistory(&perf_history); in main()
166 if (!status.isOk() || perf_history.size() == 0) { in main()
171 log_console_perf_history(perf_history); in main()
Dstoraged.proto58 optional IOPerfHistory perf_history = 4; field
Dstoraged.cpp200 storage_info->load_perf_history_proto(proto.perf_history()); in load_proto()
/system/core/storaged/include/
Dstoraged_info.h77 void load_perf_history_proto(const IOPerfHistory& perf_history);
78 void refresh(IOPerfHistory* perf_history);
Dstoraged_utils.h41 void log_console_perf_history(const vector<int>& perf_history);