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
Input Parameters#
handler - a
PetscLogHandler
stage - a
PetscLogStage
(orPETSC_DEFAULT
for the current stage)event - a
PetscLogEvent
Output Parameter#
event_info - a pointer to a performance log for
event
duringstage
(orNULL
if this handler does not usePetscEventPerfInfo
to record performance data); writing toevent_info
will 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