Lines Matching refs:event
1063 PetscErrorCode PetscLogEventRegister(const char name[], PetscClassId classid, PetscLogEvent *event) in PetscLogEventRegister() argument
1068 *event = -1; in PetscLogEventRegister()
1070 if (state) PetscCall(PetscLogStateEventRegister(state, name, classid, event)); in PetscLogEventRegister()
1094 PetscErrorCode PetscLogEventSetCollective(PetscLogEvent event, PetscBool collective) in PetscLogEventSetCollective() argument
1100 if (state) PetscCall(PetscLogStateEventSetCollective(state, event, collective)); in PetscLogEventSetCollective()
1194 static PetscErrorCode PetscLogEventSetActive(PetscLogStage stage, PetscLogEvent event, PetscBool is… in PetscLogEventSetActive() argument
1200 if (state) PetscCall(PetscLogStateEventSetActive(state, stage, event, isActive)); in PetscLogEventSetActive()
1228 PetscErrorCode PetscLogEventActivate(PetscLogEvent event) in PetscLogEventActivate() argument
1231 PetscCall(PetscLogEventSetActive(PETSC_DEFAULT, event, PETSC_TRUE)); in PetscLogEventActivate()
1259 PetscErrorCode PetscLogEventDeactivate(PetscLogEvent event) in PetscLogEventDeactivate() argument
1262 PetscCall(PetscLogEventSetActive(PETSC_DEFAULT, event, PETSC_FALSE)); in PetscLogEventDeactivate()
1292 PetscErrorCode PetscLogEventDeactivatePush(PetscLogEvent event) in PetscLogEventDeactivatePush() argument
1298 if (h) PetscCall(PetscLogHandlerEventDeactivatePush(h, PETSC_DEFAULT, event)); in PetscLogEventDeactivatePush()
1327 PetscErrorCode PetscLogEventDeactivatePop(PetscLogEvent event) in PetscLogEventDeactivatePop() argument
1333 if (h) PetscCall(PetscLogHandlerEventDeactivatePop(h, PETSC_DEFAULT, event)); in PetscLogEventDeactivatePop()
1351 PetscErrorCode PetscLogEventSetActiveAll(PetscLogEvent event, PetscBool isActive) in PetscLogEventSetActiveAll() argument
1357 if (state) PetscCall(PetscLogStateEventSetActiveAll(state, event, isActive)); in PetscLogEventSetActiveAll()
1597 PetscErrorCode PetscLogEventGetPerfInfo(PetscLogStage stage, PetscLogEvent event, PetscEventPerfInf… in PetscLogEventGetPerfInfo() argument
1606 PetscCall(PetscLogHandlerGetEventPerfInfo(handler, stage, event, &event_info)); in PetscLogEventGetPerfInfo()
1635 PetscErrorCode PetscLogEventSetDof(PetscLogEvent event, PetscInt n, PetscLogDouble dof) in PetscLogEventSetDof() argument
1645 PetscCall(PetscLogHandlerGetEventPerfInfo(h, PETSC_DEFAULT, event, &event_info)); in PetscLogEventSetDof()
1675 PetscErrorCode PetscLogEventSetError(PetscLogEvent event, PetscInt n, PetscLogDouble error) in PetscLogEventSetError() argument
1685 PetscCall(PetscLogHandlerGetEventPerfInfo(h, PETSC_DEFAULT, event, &event_info)); in PetscLogEventSetError()
1707 PetscErrorCode PetscLogEventGetId(const char name[], PetscLogEvent *event) in PetscLogEventGetId() argument
1712 *event = -1; in PetscLogEventGetId()
1714 if (state) PetscCall(PetscLogStateGetEventFromName(state, name, event)); in PetscLogEventGetId()
1733 PetscErrorCode PetscLogEventGetName(PetscLogEvent event, const char *name[]) in PetscLogEventGetName() argument
1742 PetscCall(PetscLogStateEventGetInfo(state, event, &event_info)); in PetscLogEventGetName()