Mercurial > repos > public > sbplib
view timeTask.m @ 838:bd43256f0c41 feature/poroelastic
Added tag Heimisson2018 for changeset 08f3ffe63f48
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Fri, 14 Sep 2018 10:41:00 -0700 |
parents | 1afd33f719df |
children |
line wrap: on
line source
function done = timeTask(fmt, varargin) fprintf(fmt, varargin{:}); tStart = tic; function done_fun() fprintf(' - done %fs\n', toc(tStart)); end done = @done_fun; end