Lines Matching refs:resident

460 …PetscLogDouble allocated, allocatedmax, resident, residentmax, gallocated, gallocatedmax, gresiden…  in PetscMemoryView()  local
468 PetscCall(PetscMemoryGetCurrentUsage(&resident)); in PetscMemoryView()
470 if (residentmax > 0) residentmax = PetscMax(resident, residentmax); in PetscMemoryView()
473 if (resident && residentmax && allocated) { in PetscMemoryView()
478 PetscCallMPI(MPI_Reduce(&resident, &gresident, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, 0, comm)); in PetscMemoryView()
479 PetscCallMPI(MPI_Reduce(&resident, &maxgresident, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, 0, comm)); in PetscMemoryView()
480 PetscCallMPI(MPI_Reduce(&resident, &mingresident, 1, MPIU_PETSCLOGDOUBLE, MPI_MIN, 0, comm)); in PetscMemoryView()
490 } else if (resident && residentmax) { in PetscMemoryView()
495 PetscCallMPI(MPI_Reduce(&resident, &gresident, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, 0, comm)); in PetscMemoryView()
496 PetscCallMPI(MPI_Reduce(&resident, &maxgresident, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, 0, comm)); in PetscMemoryView()
497 PetscCallMPI(MPI_Reduce(&resident, &mingresident, 1, MPIU_PETSCLOGDOUBLE, MPI_MIN, 0, comm)); in PetscMemoryView()
499 } else if (resident && allocated) { in PetscMemoryView()
500 PetscCallMPI(MPI_Reduce(&resident, &gresident, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, 0, comm)); in PetscMemoryView()
501 PetscCallMPI(MPI_Reduce(&resident, &maxgresident, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, 0, comm)); in PetscMemoryView()
502 PetscCallMPI(MPI_Reduce(&resident, &mingresident, 1, MPIU_PETSCLOGDOUBLE, MPI_MIN, 0, comm)); in PetscMemoryView()