11.07.2015 Views

PETSc Tutorial - The ACTS Toolkit

PETSc Tutorial - The ACTS Toolkit

PETSc Tutorial - The ACTS Toolkit

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Profiling <strong>PETSc</strong>Adding A Logging Stageint stageNum;ierr = PetscLogStageRegister(&stageNum, "name");CHKERRQ(ierr);ierr = PetscLogStagePush(stageNum);CHKERRQ(ierr);Code to Monitorierr = PetscLogStagePop();CHKERRQ(ierr);M. Knepley (ANL) <strong>Tutorial</strong> <strong>ACTS</strong> ’06 41 / 166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!