[petsc-users] Logging the same pieces of code several times using PetscLogEventBegin/PetscLogEventEnd

Filippo Spiga filippo.spiga at disco.unimib.it
Thu Nov 11 14:13:47 CST 2010


Dear Satish,
     I checked and you are right! There are also other events logged 
(not only "Log A" and "Log B") inside some functions called many times 
during the loop. Inside these functions I've found 
PetscLogEventRegister. My fault.

Cheers!

Satish Balay wrote:
> I suspect you have PetscLogEventRegister() in a loop aswell..
>
> Satish

-- 
Filippo SPIGA, MSc Computer Science


More information about the petsc-users mailing list