[mpas-developers] COMMIT CHECK: mpas_timer.F bug fix

Doug Jacobsen jacobsen.douglas at gmail.com
Wed Feb 13 10:45:17 MST 2013


Hey Everyone.

I just found a bug in the timer module, that I would like to fix. The
average time printed out is garbage currently, as it's defined by

timer_ptr%avg_time = timer_ptr%ave_time/timer_ptr%calls

rather than

timer_ptr%avg_time = timer_ptr%total_time/timer_ptr%calls

This is really the only line that gets changed. I've tested it and it works
fine in my tests, so I'll commit it tomorrow if I don't hear anything. It
shouldn't impact anything other than the output of the timers.

Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/mpas-developers/attachments/20130213/d4b7140b/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpas_timer.F
Type: application/octet-stream
Size: 12029 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/mpas-developers/attachments/20130213/d4b7140b/attachment.obj 


More information about the mpas-developers mailing list