Searched refs:resident (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/memory/ |
| H A D | mtr.c | 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() [all …]
|