Lines Matching defs:pid
574 ",pid=" + std::to_string(pidInfoWid[it->first]) +
590 ",pid=" + std::to_string(it->first) +
647 auto pid = resource->getResourceTag().fPid;
648 if (pid && resource->isRealAlloc()) {
649 auto& pidSize = fBytesOfPid[pid];
651 fUpdatedBytesOfPid[pid] = pidSize;
652 if (pidSize >= fMemoryControl_ && fExitedPid_.find(pid) == fExitedPid_.end() && fMemoryOverflowCallback_) {
653 fMemoryOverflowCallback_(pid, pidSize, true);
654 fExitedPid_.insert(pid);
655 SkDebugf("OHOS resource overflow! pid[%{public}d], size[%{public}zu]", pid, pidSize);
657 HITRACE_OHOS_NAME_FMT_ALWAYS("OHOS gpu resource overflow: pid(%u), size:(%u)", pid, pidSize);
713 auto pid = resource->getResourceTag().fPid;
714 if (pid && resource->isRealAlloc()) {
715 auto& pidSize = fBytesOfPid[pid];
717 fUpdatedBytesOfPid[pid] = pidSize;
719 fBytesOfPid.erase(pid);
878 // OH ISSUE: get the memory information of the updated pid.
1449 //Delete the exited pid and scatch resource. This must be done as a separate pass
1458 for (auto pid : exitedPidSet) {
1459 fExitedPid_.erase(pid);