# Question about -log\_view

**URL:** https://community.freefem.org/t/question-about-log-view/4262
**Category:** General Discussion
**Created:** [April 24, 2026, 2:18pm UTC](https://community.freefem.org/t/question-about-log-view/4262 "2026-04-24T14:18:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zxss](https://avatars.discourse-cdn.com/v4/letter/z/bc8723/32.png) [@zxss](https://community.freefem.org/u/zxss)
#### Post date: [April 24, 2026, 2:18pm UTC](https://community.freefem.org/t/question-about-log-view/4262/1 "2026-04-24T14:18:25Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)
#### Post date: [April 24, 2026, 3:36pm UTC](https://community.freefem.org/t/question-about-log-view/4262/2 "2026-04-24T15:36:32Z")

</div>

Use `PetscLogStagePush()`/`PetscLogStagePop()`, cf. [FreeFem-sources/examples/hpddm/bratu-hpddm-2d-PETSc.edp at develop · FreeFem/FreeFem-sources · GitHub](https://github.com/FreeFem/FreeFem-sources/blob/develop/examples/hpddm/bratu-hpddm-2d-PETSc.edp#L44).
