Home
last modified time | relevance | path

Searched refs:PetscLogHandler (Results 1 – 23 of 23) sorted by relevance

/petsc/src/sys/logging/handler/interface/
H A Dloghandler.c28 PetscErrorCode PetscLogHandlerCreate(MPI_Comm comm, PetscLogHandler *handler) in PetscLogHandlerCreate()
30 PetscLogHandler h; in PetscLogHandlerCreate()
54 PetscErrorCode PetscLogHandlerDestroy(PetscLogHandler *handler) in PetscLogHandlerDestroy()
56 PetscLogHandler h; in PetscLogHandlerDestroy()
88 PetscErrorCode PetscLogHandlerSetState(PetscLogHandler h, PetscLogState state) in PetscLogHandlerSetState()
119 PetscErrorCode PetscLogHandlerGetState(PetscLogHandler h, PetscLogState *state) in PetscLogHandlerGetState()
148 PetscErrorCode PetscLogHandlerEventBegin(PetscLogHandler h, PetscLogEvent e, PetscObject o1, PetscO… in PetscLogHandlerEventBegin()
176 PetscErrorCode PetscLogHandlerEventEnd(PetscLogHandler h, PetscLogEvent e, PetscObject o1, PetscObj… in PetscLogHandlerEventEnd()
201 PetscErrorCode PetscLogHandlerEventSync(PetscLogHandler h, PetscLogEvent e, MPI_Comm comm) in PetscLogHandlerEventSync()
238 PetscErrorCode PetscLogHandlerObjectCreate(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectCreate()
[all …]
H A Dlhreg.c10 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Default(PetscLogHandler);
11 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Nested(PetscLogHandler);
12 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Trace(PetscLogHandler);
14 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_MPE(PetscLogHandler);
17 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Perfstubs(PetscLogHandler);
19 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Legacy(PetscLogHandler);
21 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_NVTX(PetscLogHandler);
24 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_ROCTX(PetscLogHandler);
75 …cErrorCode PetscLogHandlerRegister(const char sname[], PetscErrorCode (*function)(PetscLogHandler)) in PetscLogHandlerRegister() argument
93 PetscErrorCode PetscLogHandlerSetType(PetscLogHandler handler, PetscLogHandlerType name) in PetscLogHandlerSetType()
[all …]
/petsc/include/petsc/private/
H A Dloghandlerimpl.h7 PetscErrorCode (*destroy)(PetscLogHandler);
8 …PetscErrorCode (*eventbegin)(PetscLogHandler, PetscLogEvent, PetscObject, PetscObject, PetscObject…
9 …PetscErrorCode (*eventend)(PetscLogHandler, PetscLogEvent, PetscObject, PetscObject, PetscObject, …
10 PetscErrorCode (*eventsync)(PetscLogHandler, PetscLogEvent, MPI_Comm);
11 PetscErrorCode (*objectcreate)(PetscLogHandler, PetscObject);
12 PetscErrorCode (*objectdestroy)(PetscLogHandler, PetscObject);
13 PetscErrorCode (*stagepush)(PetscLogHandler, PetscLogStage);
14 PetscErrorCode (*stagepop)(PetscLogHandler, PetscLogStage);
15 PetscErrorCode (*view)(PetscLogHandler, PetscViewer);
25 PETSC_INTERN PetscErrorCode PetscLogHandlerLogObjectState_Internal(PetscLogHandler, PetscObject, co…
H A Dbmimpl.h18 PetscLogHandler lhdlr;
/petsc/src/sys/logging/handler/impls/roctx/
H A Dlogroctx.c10 static PetscErrorCode PetscLogHandlerEventsPause_ROCTX(PetscLogHandler h) in PetscLogHandlerEventsPause_ROCTX()
19 static PetscErrorCode PetscLogHandlerEventsResume_ROCTX(PetscLogHandler h) in PetscLogHandlerEventsResume_ROCTX()
38 static PetscErrorCode PetscLogHandlerEventBegin_ROCTX(PetscLogHandler handler, PetscLogEvent event,… in PetscLogHandlerEventBegin_ROCTX()
52 static PetscErrorCode PetscLogHandlerEventEnd_ROCTX(PetscLogHandler handler, PetscLogEvent event, P… in PetscLogHandlerEventEnd_ROCTX()
67 static PetscErrorCode PetscLogHandlerEventBegin_ROCTX(PetscLogHandler handler, PetscLogEvent event,… in PetscLogHandlerEventBegin_ROCTX()
73 static PetscErrorCode PetscLogHandlerEventEnd_ROCTX(PetscLogHandler handler, PetscLogEvent event, P… in PetscLogHandlerEventEnd_ROCTX()
93 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_ROCTX(PetscLogHandler handler) in PetscLogHandlerCreate_ROCTX()
/petsc/src/sys/logging/handler/impls/legacy/
H A Dloglegacy.c11 static PetscErrorCode PetscLogHandlerEventBegin_Legacy(PetscLogHandler handler, PetscLogEvent e, Pe… in PetscLogHandlerEventBegin_Legacy()
18 static PetscErrorCode PetscLogHandlerEventEnd_Legacy(PetscLogHandler handler, PetscLogEvent e, Pets… in PetscLogHandlerEventEnd_Legacy()
25 static PetscErrorCode PetscLogHandlerObjectCreate_Legacy(PetscLogHandler handler, PetscObject o) in PetscLogHandlerObjectCreate_Legacy()
32 static PetscErrorCode PetscLogHandlerObjectDestroy_Legacy(PetscLogHandler handler, PetscObject o) in PetscLogHandlerObjectDestroy_Legacy()
39 static PetscErrorCode PetscLogHandlerDestroy_Legacy(PetscLogHandler handler) in PetscLogHandlerDestroy_Legacy()
57 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Legacy(PetscLogHandler handler) in PetscLogHandlerCreate_Legacy()
115 …etscLogPHC)(PetscObject o), PetscErrorCode (*PetscLogPHD)(PetscObject o), PetscLogHandler *handler) in PetscLogHandlerCreateLegacy()
118 PetscLogHandler h; in PetscLogHandlerCreateLegacy()
/petsc/src/sys/tutorials/
H A Dex7.c61 static PetscErrorCode PetscLogHandlerEventBegin_Ex7(PetscLogHandler h, PetscLogEvent e, PetscObject… in PetscLogHandlerEventBegin_Ex7()
84 static PetscErrorCode PetscLogHandlerEventEnd_Ex7(PetscLogHandler h, PetscLogEvent e, PetscObject o… in PetscLogHandlerEventEnd_Ex7()
102 static PetscErrorCode PetscLogHandlerEventSync_Ex7(PetscLogHandler h, PetscLogEvent e, MPI_Comm com… in PetscLogHandlerEventSync_Ex7()
118 static PetscErrorCode PetscLogHandlerObjectCreate_Ex7(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectCreate_Ex7()
128 static PetscErrorCode PetscLogHandlerObjectDestroy_Ex7(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectDestroy_Ex7()
138 static PetscErrorCode PetscLogHandlerStagePush_Ex7(PetscLogHandler h, PetscLogStage new_stage) in PetscLogHandlerStagePush_Ex7()
158 static PetscErrorCode PetscLogHandlerStagePop_Ex7(PetscLogHandler h, PetscLogStage old_stage) in PetscLogHandlerStagePop_Ex7()
179 static PetscErrorCode PetscLogHandlerView_Ex7(PetscLogHandler h, PetscViewer viewer) in PetscLogHandlerView_Ex7()
198 static PetscErrorCode PetscLogHandlerLogObjectState_Ex7(PetscLogHandler h, PetscObject obj, const c… in PetscLogHandlerLogObjectState_Ex7()
210 static PetscErrorCode PetscLogHandlerDestroy_Ex7(PetscLogHandler h) in PetscLogHandlerDestroy_Ex7()
[all …]
/petsc/include/
H A Dpetsclog.h113 …C_EXTERN PetscErrorCode PetscLogHandlerRegister(const char[], PetscErrorCode (*)(PetscLogHandler));
114 PETSC_EXTERN PetscErrorCode PetscLogHandlerCreate(MPI_Comm, PetscLogHandler *);
115 PETSC_EXTERN PetscErrorCode PetscLogHandlerSetType(PetscLogHandler, PetscLogHandlerType);
116 PETSC_EXTERN PetscErrorCode PetscLogHandlerGetType(PetscLogHandler, PetscLogHandlerType *);
117 PETSC_EXTERN PetscErrorCode PetscLogHandlerDestroy(PetscLogHandler *);
118 PETSC_EXTERN PetscErrorCode PetscLogHandlerSetState(PetscLogHandler, PetscLogState);
119 PETSC_EXTERN PetscErrorCode PetscLogHandlerGetState(PetscLogHandler, PetscLogState *);
120 PETSC_EXTERN PetscErrorCode PetscLogHandlerEventBegin(PetscLogHandler, PetscLogEvent, PetscObject, …
121 PETSC_EXTERN PetscErrorCode PetscLogHandlerEventEnd(PetscLogHandler, PetscLogEvent, PetscObject, Pe…
122 PETSC_EXTERN PetscErrorCode PetscLogHandlerEventSync(PetscLogHandler, PetscLogEvent, MPI_Comm);
[all …]
H A Dpetsclogtypes.h126 typedef struct _p_PetscLogHandler *PetscLogHandler; typedef
/petsc/src/sys/logging/handler/impls/trace/
H A Dlogtrace.c12 static PetscErrorCode PetscLogHandlerEventBegin_Trace(PetscLogHandler h, PetscLogEvent event, Petsc… in PetscLogHandlerEventBegin_Trace()
37 static PetscErrorCode PetscLogHandlerEventEnd_Trace(PetscLogHandler h, PetscLogEvent event, PetscOb… in PetscLogHandlerEventEnd_Trace()
61 static PetscErrorCode PetscLogHandlerDestroy_Trace(PetscLogHandler h) in PetscLogHandlerDestroy_Trace()
78 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Trace(PetscLogHandler handler) in PetscLogHandlerCreate_Trace()
110 PetscErrorCode PetscLogHandlerCreateTrace(MPI_Comm comm, FILE *file, PetscLogHandler *handler) in PetscLogHandlerCreateTrace()
112 PetscLogHandler h; in PetscLogHandlerCreateTrace()
/petsc/src/sys/logging/
H A Dplog.c150 static PetscErrorCode PetscLogTryGetHandler(PetscLogHandlerType type, PetscLogHandler *handler) in PetscLogTryGetHandler()
156 PetscLogHandler h = PetscLogHandlers[i].handler; in PetscLogTryGetHandler()
187 PetscErrorCode PetscLogGetDefaultHandler(PetscLogHandler *handler) in PetscLogGetDefaultHandler()
194 static PetscErrorCode PetscLogGetHandler(PetscLogHandlerType type, PetscLogHandler *handler) in PetscLogGetHandler()
228 static PetscErrorCode PetscLogHandlerCopyToHot(PetscLogHandler h, PetscLogHandlerHot *hot) in PetscLogHandlerCopyToHot()
266 PetscErrorCode PetscLogHandlerStart(PetscLogHandler h) in PetscLogHandlerStart()
322 PetscErrorCode PetscLogHandlerStop(PetscLogHandler h) in PetscLogHandlerStop()
423 PetscLogHandler handler; in PetscLogTypeBegin()
501 PetscLogHandler handler; in PetscLogTraceBegin()
512 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Nested(MPI_Comm, PetscLogHandler *);
[all …]
/petsc/src/sys/logging/handler/impls/perfstubs/
H A Dlogperfstubs.c32 static PetscErrorCode PetscLogHandlerDestroy_Perfstubs(PetscLogHandler h) in PetscLogHandlerDestroy_Perfstubs()
61 static PetscErrorCode PetscLogHandlerPSUpdateEvents(PetscLogHandler h) in PetscLogHandlerPSUpdateEvents()
85 static PetscErrorCode PetscLogHandlerPSUpdateStages(PetscLogHandler h) in PetscLogHandlerPSUpdateStages()
109 static PetscErrorCode PetscLogHandlerEventBegin_Perfstubs(PetscLogHandler handler, PetscLogEvent ev… in PetscLogHandlerEventBegin_Perfstubs()
123 static PetscErrorCode PetscLogHandlerEventEnd_Perfstubs(PetscLogHandler handler, PetscLogEvent even… in PetscLogHandlerEventEnd_Perfstubs()
137 static PetscErrorCode PetscLogHandlerStagePush_Perfstubs(PetscLogHandler handler, PetscLogStage sta… in PetscLogHandlerStagePush_Perfstubs()
149 static PetscErrorCode PetscLogHandlerStagePop_Perfstubs(PetscLogHandler handler, PetscLogStage stag… in PetscLogHandlerStagePop_Perfstubs()
172 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Perfstubs(PetscLogHandler handler) in PetscLogHandlerCreate_Perfstubs()
/petsc/src/sys/logging/handler/impls/nvtx/
H A Dlognvtx.c10 static PetscErrorCode PetscLogHandlerEventBegin_NVTX(PetscLogHandler handler, PetscLogEvent event, … in PetscLogHandlerEventBegin_NVTX()
24 static PetscErrorCode PetscLogHandlerEventEnd_NVTX(PetscLogHandler handler, PetscLogEvent event, Pe… in PetscLogHandlerEventEnd_NVTX()
50 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_NVTX(PetscLogHandler handler) in PetscLogHandlerCreate_NVTX()
/petsc/src/sys/logging/handler/impls/mpe/
H A Dlogmpe.c29 static PetscErrorCode PetscLogHandlerDestroy_MPE(PetscLogHandler h) in PetscLogHandlerDestroy_MPE()
74 static PetscErrorCode PetscLogHandlerMPEUpdate(PetscLogHandler h) in PetscLogHandlerMPEUpdate()
93 static PetscErrorCode PetscLogHandlerEventBegin_MPE(PetscLogHandler handler, PetscLogEvent event, P… in PetscLogHandlerEventBegin_MPE()
105 static PetscErrorCode PetscLogHandlerEventEnd_MPE(PetscLogHandler handler, PetscLogEvent event, Pet… in PetscLogHandlerEventEnd_MPE()
128 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_MPE(PetscLogHandler handler) in PetscLogHandlerCreate_MPE()
/petsc/src/sys/logging/handler/impls/nested/
H A Dlognested.c5 PETSC_INTERN PetscErrorCode PetscLogHandlerNestedSetThreshold(PetscLogHandler h, PetscLogDouble new… in PetscLogHandlerNestedSetThreshold()
17 static PetscErrorCode PetscLogEventGetNestedEvent(PetscLogHandler h, PetscLogEvent e, PetscLogEvent… in PetscLogEventGetNestedEvent()
48 static PetscErrorCode PetscLogStageGetNestedEvent(PetscLogHandler h, PetscLogStage stage, PetscLogE… in PetscLogStageGetNestedEvent()
85 static PetscErrorCode PetscLogNestedFindNestedId(PetscLogHandler h, NestedId orig_id, PetscInt *pop… in PetscLogNestedFindNestedId()
118 static PetscErrorCode PetscLogNestedCheckNested(PetscLogHandler h, NestedId leaf, PetscLogEvent nes… in PetscLogNestedCheckNested()
132 static PetscErrorCode PetscLogHandlerEventBegin_Nested(PetscLogHandler h, PetscLogEvent e, PetscObj… in PetscLogHandlerEventBegin_Nested()
145 static PetscErrorCode PetscLogHandlerNestedEventEnd(PetscLogHandler h, NestedId id, PetscObject o1,… in PetscLogHandlerNestedEventEnd()
175 static PetscErrorCode PetscLogHandlerEventEnd_Nested(PetscLogHandler h, PetscLogEvent e, PetscObjec… in PetscLogHandlerEventEnd_Nested()
182 static PetscErrorCode PetscLogHandlerEventSync_Nested(PetscLogHandler h, PetscLogEvent e, MPI_Comm … in PetscLogHandlerEventSync_Nested()
193 static PetscErrorCode PetscLogHandlerStagePush_Nested(PetscLogHandler h, PetscLogStage stage) in PetscLogHandlerStagePush_Nested()
[all …]
H A Dlognested.h44 PetscLogHandler handler;
H A Dxmlviewer.c192 …ntGlobalPerformance(PetscViewer viewer, PetscLogDouble locTotalTime, PetscLogHandler default_handl… in PetscPrintGlobalPerformance()
/petsc/doc/changes/
H A D320.md46 - Add `PetscLogHandler` interface that interprets the profiling events of a `PetscLogState`
47 - Add `PETSCLOGHANDLERDEFAULT` implementation of `PetscLogHandler`
48 - Add `PETSCLOGHANDLERNESTED` implementation of `PetscLogHandler`
49 - Add `PETSCLOGHANDLERTRACE` implementation of `PetscLogHandler`
51 - Add `PETSCLOGHANDLERMPE` implementation of `PetscLogHandler`
52 - Add `PETSCLOGHANDLERPERFSTUBS` implementation of `PetscLogHandler`
53 - Add `PETSCLOGHANDLERLEGACY` implementation of `PetscLogHandler`
56 …acyCallbacksBegin()` to transition old log handler callbacks to the `PetscLogHandler`-based approa…
57 - Add `PetscLogHandlerStart()` to connect a `PetscLogHandler` to PETSc's global logging events
88 - Add `PETSCLOGHANDLERNVTX` implementation of `PetscLogHandler`
/petsc/src/sys/logging/handler/impls/default/
H A Dlogdefault.h6 PETSC_INTERN PetscErrorCode PetscLogHandlerCreate_Default(PetscLogHandler);
H A Dlogdefault.c290 static PetscErrorCode PetscLogHandlerDestroy_Default(PetscLogHandler h) in PetscLogHandlerDestroy_Default()
327 static PetscErrorCode PetscLogHandlerDefaultGetStageInfo(PetscLogHandler handler, PetscLogStage sta… in PetscLogHandlerDefaultGetStageInfo()
339 static PetscErrorCode PetscLogHandlerGetEventPerfInfo_Default(PetscLogHandler handler, PetscLogStag… in PetscLogHandlerGetEventPerfInfo_Default()
356 static PetscErrorCode PetscLogHandlerGetStagePerfInfo_Default(PetscLogHandler handler, PetscLogStag… in PetscLogHandlerGetStagePerfInfo_Default()
367 static PetscErrorCode PetscLogHandlerDefaultGetClassPerf(PetscLogHandler handler, PetscLogStage sta… in PetscLogHandlerDefaultGetClassPerf()
381 static PetscErrorCode PetscLogHandlerObjectCreate_Default(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectCreate_Default()
439 static PetscErrorCode PetscLogHandlerObjectDestroy_Default(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectDestroy_Default()
492 static PetscErrorCode PetscLogHandlerEventSync_Default(PetscLogHandler h, PetscLogEvent event, MPI_… in PetscLogHandlerEventSync_Default()
541 static PetscErrorCode PetscLogHandlerEventBegin_Default(PetscLogHandler h, PetscLogEvent event, Pet… in PetscLogHandlerEventBegin_Default()
606 static PetscErrorCode PetscLogHandlerEventEnd_Default(PetscLogHandler h, PetscLogEvent event, Petsc… in PetscLogHandlerEventEnd_Default()
[all …]
/petsc/src/sys/tests/
H A Dex68.c10 PetscLogHandler default_handler; in main()
92 PetscLogHandler handler; in main()
/petsc/src/dm/dt/fe/impls/opencl/
H A Dfeopencl.c486 PetscLogHandler h; in PetscFEOpenCLLogResidual()
/petsc/src/dm/impls/plex/
H A Dplex.c10986 PetscLogHandler default_handler; in DMPlexMonitorThroughput()