view prof.m @ 872:f190e35bb57a bcSetupExperiment

Clean up verifyFormat
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 01 Nov 2018 12:02:25 +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