view prof.m @ 796:aa1ed37a1b56 feature/poroelastic

Remove hack in multiblock/DiffOp that was used with cell penalties.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 25 Jul 2018 18:53:07 -0700
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