[petsc-users] PetscMemoryGetMaximumUsage

Jed Brown jedbrown at mcs.anl.gov
Mon Jul 8 16:02:51 CDT 2013


Michael Povolotskyi <mpovolot at purdue.edu> writes:

> Just to clarify:
>
> PetscMemorySetGetMaximumUsage();
>
> is called only once. Correct?

Yes, but it is idempotent.

PetscErrorCode  PetscMemorySetGetMaximumUsage(void)
{
  PetscFunctionBegin;
  PetscMemoryCollectMaximumUsage = PETSC_TRUE;
  PetscFunctionReturn(0);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130708/7121e4e3/attachment.pgp>


More information about the petsc-users mailing list