<div dir="ltr"><div><a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/get_cpu_time.shtml">http://www.ncl.ucar.edu/Document/Functions/Built-in/get_cpu_time.shtml</a><br><br></div>which, I think, Rick created.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 11, 2018 at 10:31 AM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>You might check out the functions wallClockElapseTime() or get_cpu_time():<br><br><a href="http://ncl.ucar.edu/Document/Functions/Contributed/wallClockElapseTime.shtml" target="_blank">http://ncl.ucar.edu/Document/<wbr>Functions/Contributed/<wbr>wallClockElapseTime.shtml</a><span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Rick<br></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Mar 10, 2018 at 6:02 PM, Prashanth Bhalachandran <span dir="ltr"><<a href="mailto:prashanth.bhalachandran@gmail.com" target="_blank">prashanth.bhalachandran@<wbr>gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div link="blue" vlink="#954F72" lang="EN-US"><div class="m_-3926317472076641983m_-3712491915042064738WordSection1"><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif">Hello all, <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif">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). <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif">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). <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif">Any suggestions? <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif">Thank you, <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:16.0pt;font-family:"Bodoni MT",serif">Prashanth <u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br></div></div><span class="">______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></span></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>