PetscLogHandlerGetStagePerfInfo#
Get a direct reference to the PetscEventPerfInfo of a stage
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscLogHandlerGetStagePerfInfo(PetscLogHandler handler, PetscLogStage stage, PetscEventPerfInfo **stage_info)
Not collective, No Fortran Support
Input Parameters#
handler - a
PetscLogHandlerstage - a
PetscLogStage(orPETSC_DEFAULTfor the current stage)
Output Parameter#
stage_info - a pointer to a performance log for
stage(orNULLif this handler does not usePetscEventPerfInfoto record performance data); writing tostage_infowill change the record inhandler
See Also#
Profiling, PetscLogEventGetPerfInfo(), PETSCLOGHANDLERDEFAULT
Level#
developer
Location#
Implementations#
PetscLogHandlerGetStagePerfInfo_Default() in src/sys/logging/handler/impls/default/logdefault.c
Index of all Log routines
Table of Contents for all manual pages
Index of all manual pages