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