[petsc-users] Memory usage of KSP (or any PETSc object)
Mohamad M. Nasr-Azadani
mmnasr at gmail.com
Tue Sep 27 22:39:15 CDT 2011
Hi,
I was trying to find the exact (or more or less exact) memory consumption of
any PETSc object.
I was wondering how accurate is this method:
*PetscMemoryGetMaximumUsage(&mem1);*
*.*
*(creation of any PETSc object).*
*.*
*
*
*PetscMemoryGetMaximumUsage(&mem2);*
*Memory = mem2 - mem1; *
*
*
*Thanks in advance, *
*Mohamad*
*
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110927/7f194494/attachment.htm>
More information about the petsc-users
mailing list