Mercurial > repos > public > sbplib
view prof.m @ 825:32c360bb480e feature/operator_files
Add test and fix typo
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Mon, 10 Sep 2018 17:42:30 +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