[petsc-users] View wall-clock time of a PETSc function via command-line
Barry Smith
bsmith at mcs.anl.gov
Tue Jul 5 11:50:56 CDT 2016
./ex1 -log_view | grep KSPSolve
or
./ex1 -log_view | egrep "(KSPSolve|SNESSolve)"
> On Jul 5, 2016, at 11:46 AM, Justin Chang <jychang48 at gmail.com> wrote:
>
> Hi all,
>
> Is there a quick way (e.g., through command-line options) to output the wall-clock time of a PETSc function (e.g., SNESSolve(), KSPSolve(), etc) without outputting the entire -log_view?
>
> Thanks,
> Justin
More information about the petsc-users
mailing list