• Home
  • Raw
  • Download

Lines Matching refs:usage

466     for (const auto& usage : topNReads) {  in processUidIoPerfData()  local
467 if (usage->ios.isZero()) { in processUidIoPerfData()
473 .userId = multiuser_get_user_id(usage->uid), in processUidIoPerfData()
474 .packageName = std::to_string(usage->uid), in processUidIoPerfData()
475 .bytes = {usage->ios.metrics[READ_BYTES][FOREGROUND], in processUidIoPerfData()
476 usage->ios.metrics[READ_BYTES][BACKGROUND]}, in processUidIoPerfData()
477 .fsync = {usage->ios.metrics[FSYNC_COUNT][FOREGROUND], in processUidIoPerfData()
478 usage->ios.metrics[FSYNC_COUNT][BACKGROUND]}, in processUidIoPerfData()
480 if (uidToPackageNameMapping.find(usage->uid) != uidToPackageNameMapping.end()) { in processUidIoPerfData()
481 stats.packageName = uidToPackageNameMapping.at(usage->uid); in processUidIoPerfData()
490 for (const auto& usage : topNWrites) { in processUidIoPerfData() local
491 if (usage->ios.isZero()) { in processUidIoPerfData()
497 .userId = multiuser_get_user_id(usage->uid), in processUidIoPerfData()
498 .packageName = std::to_string(usage->uid), in processUidIoPerfData()
499 .bytes = {usage->ios.metrics[WRITE_BYTES][FOREGROUND], in processUidIoPerfData()
500 usage->ios.metrics[WRITE_BYTES][BACKGROUND]}, in processUidIoPerfData()
501 .fsync = {usage->ios.metrics[FSYNC_COUNT][FOREGROUND], in processUidIoPerfData()
502 usage->ios.metrics[FSYNC_COUNT][BACKGROUND]}, in processUidIoPerfData()
504 if (uidToPackageNameMapping.find(usage->uid) != uidToPackageNameMapping.end()) { in processUidIoPerfData()
505 stats.packageName = uidToPackageNameMapping.at(usage->uid); in processUidIoPerfData()