Mercurial > repos > public > sbplib
view prof.m @ 1218:50102334c85b feature/d2_compatible
Merge with default
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 13 Nov 2019 15:35:27 -0800 |
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