f¶
-
dolfin.cpp.common.
f
(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_clear
resets stored timingsTimingClear_keep
leaves stored timings intact
- Returns
- std::tuple<std::size_t, double, double, double>
- (count, total wall time, total user time, total system time)