Mercurial > repos > public > sbplib
view prof.m @ 269:479194747f9c operator_remake
Bug fix
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Fri, 09 Sep 2016 15:51:57 +0200 |
parents | cb65c81d6c87 |
children |
line wrap: on
line source
function prof(f) profile on try f(); profile viewer catch e fprintf(2, '\n%s', getReport(e)); profile clear end end