PetscLogEventGetPerfInfo#

Return the performance information about the given event in the given stage

Synopsis#

#include "petscsys.h"   
PetscErrorCode PetscLogEventGetPerfInfo(int stage, PetscLogEvent event, PetscEventPerfInfo *info)

Input Parameters#

  • stage - The stage number or PETSC_DETERMINE for the current stage

  • event - The event number

Output Parameter#

  • info - This structure is filled with the performance information

Note#

This is a low level routine used by the logging functions in PETSc

See Also#

PetscLogEventGetFlops()

Level#

Intermediate

Location#

src/sys/logging/utils/eventlog.c

Examples#

src/ksp/ksp/tutorials/ex76.c
src/ksp/ksp/tutorials/ex79.c


Edit on GitLab

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