timings

dolfin.cpp.common.timings(clear, type)

Return a summary of timings and tasks in a Table, optionally clearing stored timings

Arguments
clear (TimingClear)
  • TimingClear_clear resets stored timings
  • TimingClear_keep leaves stored timings intact
type (list)
subset of [TimingType_wall, TimingType_user, TimingType_system]
Returns
Table
Table with timings