Searched refs:perf_history (Results 1 – 7 of 7) sorted by relevance
95 void log_console_perf_history(const vector<int>& perf_history) { in log_console_perf_history() argument96 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()
75 if (!perf_history.has_day_start_sec() || in load_perf_history_proto()85 nr_samples = perf_history.nr_samples(); in load_perf_history_proto()99 nr_days = perf_history.nr_days(); in load_perf_history_proto()105 nr_weeks = perf_history.nr_weeks(); in load_perf_history_proto()125 perf_history->Clear(); in refresh()126 perf_history->set_day_start_sec( in refresh()129 perf_history->add_recent_perf(bw); in refresh()133 perf_history->add_daily_perf(bw); in refresh()135 perf_history->set_nr_days(nr_days); in refresh()137 perf_history->add_weekly_perf(bw); in refresh()[all …]
164 vector<int> perf_history; in main() local165 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()
58 optional IOPerfHistory perf_history = 4; field
260 storage_info->load_perf_history_proto(proto.perf_history()); in load_proto()
77 void load_perf_history_proto(const IOPerfHistory& perf_history);78 void refresh(IOPerfHistory* perf_history);
41 void log_console_perf_history(const vector<int>& perf_history);