[ncl-talk] Stopwatch for functions

Dennis Shea shea at ucar.edu
Sun Mar 11 12:31:30 MDT 2018


http://www.ncl.ucar.edu/Document/Functions/Built-in/get_cpu_time.shtml

which, I think, Rick created.

On Sun, Mar 11, 2018 at 10:31 AM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> 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
>>
>>
>
> _______________________________________________
> 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/ed2d21be/attachment.html>


More information about the ncl-talk mailing list