[petsc-users] View wall-clock time of a PETSc function via command-line

Justin Chang jychang48 at gmail.com
Tue Jul 5 11:52:29 CDT 2016


Okay, thanks!

On Tue, Jul 5, 2016 at 11:50 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   ./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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160705/2f07d06c/attachment.html>


More information about the petsc-users mailing list