timing¶
-
dolfin.cpp.common.timing(task, clear)¶ Return timing (count, total wall time, total user time, total system time) for given task, optionally clearing all timings for the task
- Arguments
- task (str)
- name of a task
- clear (TimingClear)
TimingClear_clearresets stored timingsTimingClear_keepleaves stored timings intact
- Returns
- std::tuple<std::size_t, double, double, double>
- (count, total wall time, total user time, total system time)