[ncl-talk] Stopwatch for functions
Rick Brownrigg
brownrig at ucar.edu
Sun Mar 11 10:31:02 MDT 2018
Hi,
You might check out the functions wallClockElapseTime() or get_cpu_time():
http://ncl.ucar.edu/Document/Functions/Contributed/wallClockElapseTime.shtml
Rick
On Sat, Mar 10, 2018 at 6:02 PM, Prashanth Bhalachandran <
prashanth.bhalachandran at gmail.com> wrote:
> Hello all,
>
> I am writing to inquire if there is any function that tracks the time
> taken by the different steps in an NCL program. Matlab and R have this
> functionality called the tic and toc (stopwatch timer).
>
>
>
> The main use of this is to debug which function/step is taking such a long
> time to complete and to see if I can improve its efficiency
> (computational).
>
>
>
> Any suggestions?
>
>
>
> Thank you,
>
> Prashanth
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180311/d0a82772/attachment.html>
More information about the ncl-talk
mailing list