view prof.m @ 239:ba56e0d621f2 feature/beams

Beam: Added ability to pick alphaII and alphaIII to control tau and sigma.
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 28 Jul 2016 12:50:43 +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