PetscLogPerfstubsBegin — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscLogPerfstubsBegin

Turns on logging of events using the perfstubs interface.

## Synopsis

    #include "petscsys.h"
    PetscErrorCode PetscLogPerfstubsBegin(void)

Collective on `PETSC_COMM_WORLD`

## Options Database Key

- -log_perfstubs - use an external log handler through the perfstubs interface

## See Also

Profiling, `PetscLogDefaultBegin()`, `PetscLogEventActivate()`

## Level

advanced

## Location

src/sys/logging/plog.c

Index of all Profiling routines
Table of Contents for all manual pages
Index of all manual pages