Home
last modified time | relevance | path

Searched refs:eventid (Results 1 – 2 of 2) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DLog.pyx107 cdef PetscLogEvent eventid = -1
111 CHKERR(PetscLogEventFindId(cname, &eventid))
112 if eventid == -1:
113 CHKERR(PetscLogEventRegister(cname, classid, &eventid))
114 event = reg_LogEvent(name, eventid)
736 cdef LogEvent reg_LogEvent(object name, PetscLogEvent eventid): argument
738 event.id = eventid
/petsc/src/binding/petsc4py/src/lib-petsc/
H A Dcustom.h63 PetscErrorCode PetscLogEventFindId(const char name[], PetscLogEvent *eventid) in PetscLogEventFindId() argument
69 PetscAssertPointer(eventid,2); in PetscLogEventFindId()
70 *eventid = -1; in PetscLogEventFindId()
72 PetscCall(PetscLogEventGetId(name, eventid)); in PetscLogEventFindId()
103 PetscErrorCode PetscLogEventFindName(PetscLogEvent eventid, const char *name[]) in PetscLogEventFindName() argument
111 PetscCall(PetscLogEventGetName(eventid, name)); in PetscLogEventFindName()