petsc4py.PETSc.LogEvent#
- class petsc4py.PETSc.LogEvent#
Bases:
object
Methods Summary
activate
()Indicate that the event should be logged.
begin
(*objs)Log the beginning of a user event.
Indicate that the event should not be logged.
end
(*objs)Log the end of a user event.
getName
()getPerfInfo
([stage])Get the performance information about the given event in the given event.
setActive
(flag)Indicate whether or not the event should be logged.
setActiveAll
(flag)Turn on logging of all events.
Attributes Summary
Methods Documentation
- activate()#
Indicate that the event should be logged.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:518
- Return type:
- begin(*objs)#
Log the beginning of a user event.
Collective.
- Parameters:
*objs – objects associated with the event
- Return type:
See also
- deactivate()#
Indicate that the event should not be logged.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:530
- Return type:
- end(*objs)#
Log the end of a user event.
Collective.
- Parameters:
*objs – Objects associated with the event.
- Return type:
See also
- getActive()#
- getActiveAll()#
- getPerfInfo(stage=None)#
Get the performance information about the given event in the given event.
Not collective.
- Parameters:
- Returns:
info – This structure is filled with the performance information.
- Return type:
See also
- setActive(flag)#
Indicate whether or not the event should be logged.
Logically collective.
See also
- setActiveAll(flag)#
Turn on logging of all events.
Logically collective.
- Parameters:
flag (bool) – Activate (if
True
) or deactivate (ifFalse
) the logging of all events.- Return type:
See also
Attributes Documentation
- active#
- active_all#
- id#
- name#