view prof.m @ 1059:d8ab528f10f6 feature/poroelastic

Massive boundary operator cleanup in Elastic2dVariable
author Martin Almquist <malmquist@stanford.edu>
date Sat, 26 Jan 2019 15:38:58 -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