Mercurial > repos > public > sbplib
view prof.m @ 350:5d5652fe826a feature/hypsyst
A commit before I try resolving the performance issues
author | Ylva Rydin <ylva.rydin@telia.com> |
---|---|
date | Wed, 02 Nov 2016 00:02:01 +0100 |
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