Question about -log_view

Dear all,

I am now solving 3D unsteady Navier Stokes equations with moving boundaries with ALE method. In my program, for every time step, I need to solve two linear system, one is for mesh velocity and one is for fluid velocity and pressure.

I want to analyse their performance with seperately. But -log_view output the result together without distinguish these two KSPsolve. Is there a method for me to count these two KSPsolve separately?

Use PetscLogStagePush()/PetscLogStagePop(), cf. FreeFem-sources/examples/hpddm/bratu-hpddm-2d-PETSc.edp at develop · FreeFem/FreeFem-sources · GitHub.