Dear All,<br>I am using a developer version of  PETSc code to test a solver code.<br><br>The code loads a matrix, and solves the matrix by method <br>A first and then method B. In each method of A and B, I setup KSP, solve,<br>
and then destroy KSP. So in this process, I set up KSP twice and destroy<br>the KSP object twice.<br><br>I am using the PreLoadxxx to do the profiling but seems like part of the <br>profiling information is missing.<br><br>
PreLoadBegin(PETSC_TRUE, "A"),<br>
PreLoadStage((PETSC_TRUE, "B"),<br>
PreLoadEnd()<br><br>The missing part is:<br><br><br>Event                Count      Time (sec)     Flops                             --- Global ---  --- Stage ---   Total<br>                   Max Ratio  Max     Ratio   Max  Ratio  Mess   Avg len Reduct  %T %F %M %L %R  %T %F %M %L %R Mflop/s<br>
------------------------------------------------------------------------------------------------------------------------<br><br>--- Event Stage 0: Main Stage<br><br><br>--- Event Stage 1: A<br><br><br>--- Event Stage 2: B<br>
<br>------------------------------------------------------------------------------------------------------------------------<br><br><br>Is there any way to workaround this? <br><br>Many thanks,<br><br>Yan<br><br>