timing¶
-
dolfin.cpp.common.
timing
()¶ Return timing (count, total wall time, total user time, total system time) for given task, optionally clearing all timings for the task Arguments task (std::string) 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)
Parameters: - task (std::string) –
- clear (TimingClear) –
Return type: std::tuple< std::size_t, double, double, double >