[ncl-talk] Stopwatch for functions

Prashanth prashanth.bhalachandran at gmail.com
Mon Mar 12 07:45:48 MDT 2018


Thank you, Dennis and Rick. These functions are really helpful. 

Kind Regards, 
Prashanth 


Doctoral Candidate, 
Department of Earth, Atmospheric and Planetary Sciences, Purdue University
Contact : 765-772-8123

> On Mar 11, 2018, at 2:31 PM, Dennis Shea <shea at ucar.edu> wrote:
> 
> 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/20180312/178919c6/attachment.html>


More information about the ncl-talk mailing list