petsc4py.PETSc.LogEvent#
- class petsc4py.PETSc.LogEvent#
Bases:
objectLogging support.
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.
Not implemented.
Not implemented.
getName()The current event name.
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
Event activation.
All events activation.
The log event identifier.
The current event name.
Methods Documentation
- activate()#
Indicate that the event should be logged.
Logically collective.
See also
Source code at petsc4py/PETSc/Log.pyx:591
- 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:603
- Return type:
- end(*objs)#
Log the end of a user event.
Collective.
- Parameters:
*objs – Objects associated with the event.
- Return type:
See also
- getActive()#
Not implemented.
Source code at petsc4py/PETSc/Log.pyx:615
- Return type:
- getActiveAll()#
Not implemented.
Source code at petsc4py/PETSc/Log.pyx:648
- Return type:
- getName()#
The current event name.
Source code at petsc4py/PETSc/Log.pyx:574
- Return type:
- 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=True)#
Indicate whether or not the event should be logged.
Logically collective.
See also
- setActiveAll(flag=True)#
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#
Event activation.
- active_all#
All events activation.
- id#
The log event identifier.
- name#
The current event name.