Home
last modified time | relevance | path

Searched refs:residentmax (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/memory/
H A Dmtr.c460 …PetscLogDouble allocated, allocatedmax, resident, residentmax, gallocated, gallocatedmax, gresiden… in PetscMemoryView() local
469 PetscCall(PetscMemoryGetMaximumUsage(&residentmax)); in PetscMemoryView()
470 if (residentmax > 0) residentmax = PetscMax(resident, residentmax); in PetscMemoryView()
473 if (resident && residentmax && allocated) { in PetscMemoryView()
474 PetscCallMPI(MPI_Reduce(&residentmax, &gresidentmax, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, 0, comm)); in PetscMemoryView()
475 …PetscCallMPI(MPI_Reduce(&residentmax, &maxgresidentmax, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, 0, comm)); in PetscMemoryView()
476 …PetscCallMPI(MPI_Reduce(&residentmax, &mingresidentmax, 1, MPIU_PETSCLOGDOUBLE, MPI_MIN, 0, comm)); in PetscMemoryView()
490 } else if (resident && residentmax) { in PetscMemoryView()
491 PetscCallMPI(MPI_Reduce(&residentmax, &gresidentmax, 1, MPIU_PETSCLOGDOUBLE, MPI_SUM, 0, comm)); in PetscMemoryView()
492 …PetscCallMPI(MPI_Reduce(&residentmax, &maxgresidentmax, 1, MPIU_PETSCLOGDOUBLE, MPI_MAX, 0, comm)); in PetscMemoryView()
[all …]