• Home
  • Raw
  • Download

Lines Matching refs:StringPrintf

57         std::string fname = ::android::base::StringPrintf("/proc/%d/oom_score_adj", pid);  in ProcessRecord()
70 fname = ::android::base::StringPrintf("/proc/%d/cmdline", pid); in ProcessRecord()
204 ss << ::android::base::StringPrintf("%5s ", "PID"); in print_header()
206 ss << ::android::base::StringPrintf("%5s ", "oom"); in print_header()
210 ss << ::android::base::StringPrintf("%7s %7s %7s ", "WRss", "WPss", "WUss"); in print_header()
213 ss << ::android::base::StringPrintf("%8s %7s %7s %7s ", "Vss", "Rss", "Pss", "Uss"); in print_header()
215 ss << ::android::base::StringPrintf("%7s %7s %7s ", "Swap", "PSwap", "USwap"); in print_header()
217 ss << ::android::base::StringPrintf("%7s ", "ZSwap"); in print_header()
226 ss << ::android::base::StringPrintf("%5d ", proc.pid()); in print_process_record()
228 ss << ::android::base::StringPrintf("%5d ", proc.oomadj()); in print_process_record()
232 ss << ::android::base::StringPrintf("%6" PRIu64 "K %6" PRIu64 "K %6" PRIu64 "K ", in print_process_record()
236 ss << ::android::base::StringPrintf("%7" PRIu64 "K %6" PRIu64 "K %6" PRIu64 "K %6" PRIu64 in print_process_record()
241 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", proc.Usage().swap / 1024); in print_process_record()
242 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", proc.proportional_swap() / 1024); in print_process_record()
243 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", proc.unique_swap() / 1024); in print_process_record()
245 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", (proc.zswap() / 1024)); in print_process_record()
272 ss << ::android::base::StringPrintf("%5s ", ""); in print_separator()
274 ss << ::android::base::StringPrintf("%5s ", ""); in print_separator()
278 ss << ::android::base::StringPrintf("%7s %7s %7s ", "", "------", "------"); in print_separator()
280 ss << ::android::base::StringPrintf("%8s %7s %7s %7s ", "", "", "------", "------"); in print_separator()
282 ss << ::android::base::StringPrintf("%7s %7s %7s ", "------", "------", "------"); in print_separator()
284 ss << ::android::base::StringPrintf("%7s ", "------"); in print_separator()
289 ss << ::android::base::StringPrintf("%s", "------"); in print_separator()
293 ss << ::android::base::StringPrintf("%5s ", ""); in print_totals()
295 ss << ::android::base::StringPrintf("%5s ", ""); in print_totals()
299 ss << ::android::base::StringPrintf("%7s %6" PRIu64 "K %6" PRIu64 "K ", "", in print_totals()
302 ss << ::android::base::StringPrintf("%8s %7s %6" PRIu64 "K %6" PRIu64 "K ", "", "", in print_totals()
305 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", total_swap / 1024); in print_totals()
306 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", total_pswap / 1024); in print_totals()
307 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", total_uswap / 1024); in print_totals()
309 ss << ::android::base::StringPrintf("%6" PRIu64 "K ", total_zswap / 1024); in print_totals()
318 ss << ::android::base::StringPrintf("ZRAM: %" PRIu64 "K physical used for %" PRIu64 in print_sysmeminfo()
327 ss << ::android::base::StringPrintf(" RAM: %" PRIu64 "K total, %" PRIu64 "K free, %" PRIu64 in print_sysmeminfo()
464 std::string procdir = ::android::base::StringPrintf("/proc/%d", pid); in main()