Lines Matching refs:h
5 PETSC_INTERN PetscErrorCode PetscLogHandlerNestedSetThreshold(PetscLogHandler h, PetscLogDouble new… in PetscLogHandlerNestedSetThreshold() argument
7 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerNestedSetThreshold()
17 static PetscErrorCode PetscLogEventGetNestedEvent(PetscLogHandler h, PetscLogEvent e, PetscLogEvent… in PetscLogEventGetNestedEvent() argument
19 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogEventGetNestedEvent()
26 PetscCall(PetscLogHandlerGetState(h, &state)); in PetscLogEventGetNestedEvent()
48 static PetscErrorCode PetscLogStageGetNestedEvent(PetscLogHandler h, PetscLogStage stage, PetscLogE… in PetscLogStageGetNestedEvent() argument
50 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogStageGetNestedEvent()
57 PetscCall(PetscLogHandlerGetState(h, &state)); in PetscLogStageGetNestedEvent()
85 static PetscErrorCode PetscLogNestedFindNestedId(PetscLogHandler h, NestedId orig_id, PetscInt *pop… in PetscLogNestedFindNestedId() argument
87 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogNestedFindNestedId()
103 PetscCall(PetscLogHandlerGetState(h, &state)); in PetscLogNestedFindNestedId()
111 PetscCall(PetscLogHandlerGetState(h, &state)); in PetscLogNestedFindNestedId()
118 static PetscErrorCode PetscLogNestedCheckNested(PetscLogHandler h, NestedId leaf, PetscLogEvent nes… in PetscLogNestedCheckNested() argument
120 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogNestedCheckNested()
132 static PetscErrorCode PetscLogHandlerEventBegin_Nested(PetscLogHandler h, PetscLogEvent e, PetscObj… in PetscLogHandlerEventBegin_Nested() argument
134 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerEventBegin_Nested()
138 PetscCall(PetscLogEventGetNestedEvent(h, e, &nested_event)); in PetscLogHandlerEventBegin_Nested()
145 static PetscErrorCode PetscLogHandlerNestedEventEnd(PetscLogHandler h, NestedId id, PetscObject o1,… in PetscLogHandlerNestedEventEnd() argument
147 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerNestedEventEnd()
151 PetscCall(PetscLogNestedFindNestedId(h, id, &pop_count)); in PetscLogHandlerNestedEventEnd()
158 if (PetscDefined(USE_DEBUG)) PetscCall(PetscLogNestedCheckNested(h, nested_id, nested_event)); in PetscLogHandlerNestedEventEnd()
165 PetscCall(PetscLogHandlerGetState(h, &state)); in PetscLogHandlerNestedEventEnd()
167 …PetscCall(PetscInfo(h, "Log event %s wasn't ended, ending it to maintain stack property for nested… in PetscLogHandlerNestedEventEnd()
175 static PetscErrorCode PetscLogHandlerEventEnd_Nested(PetscLogHandler h, PetscLogEvent e, PetscObjec… in PetscLogHandlerEventEnd_Nested() argument
178 PetscCall(PetscLogHandlerNestedEventEnd(h, NestedIdFromEvent(e), o1, o2, o3, o4)); in PetscLogHandlerEventEnd_Nested()
182 static PetscErrorCode PetscLogHandlerEventSync_Nested(PetscLogHandler h, PetscLogEvent e, MPI_Comm … in PetscLogHandlerEventSync_Nested() argument
184 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerEventSync_Nested()
188 PetscCall(PetscLogEventGetNestedEvent(h, e, &nested_event)); in PetscLogHandlerEventSync_Nested()
193 static PetscErrorCode PetscLogHandlerStagePush_Nested(PetscLogHandler h, PetscLogStage stage) in PetscLogHandlerStagePush_Nested() argument
195 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerStagePush_Nested()
200 PetscCall(PetscLogStageGetNestedEvent(h, stage, &nested_event)); in PetscLogHandlerStagePush_Nested()
207 static PetscErrorCode PetscLogHandlerStagePop_Nested(PetscLogHandler h, PetscLogStage stage) in PetscLogHandlerStagePop_Nested() argument
210 PetscCall(PetscLogHandlerNestedEventEnd(h, NestedIdFromStage(stage), NULL, NULL, NULL, NULL)); in PetscLogHandlerStagePop_Nested()
241 static PetscErrorCode PetscLogHandlerObjectCreate_Nested(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectCreate_Nested() argument
246 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerObjectCreate_Nested()
251 PetscCall(PetscLogHandlerGetState(h, &state)); in PetscLogHandlerObjectCreate_Nested()
265 static PetscErrorCode PetscLogHandlerObjectDestroy_Nested(PetscLogHandler h, PetscObject obj) in PetscLogHandlerObjectDestroy_Nested() argument
267 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerObjectDestroy_Nested()
274 static PetscErrorCode PetscLogHandlerDestroy_Nested(PetscLogHandler h) in PetscLogHandlerDestroy_Nested() argument
276 PetscLogHandler_Nested nested = (PetscLogHandler_Nested)h->data; in PetscLogHandlerDestroy_Nested()