[Yt-dev] yt timing function
Stephen Skory
stephenskory at yahoo.com
Mon Jul 27 12:21:38 PDT 2009
Hi all,
I improved the counters to be able to handle nested counters. It isn't designed to handle bridging counters. By that I mean counters should go strictly in order in and out:
OK: start1, start2, end2, end1
not OK: start1, start2, end1, end2
With a script like this:
http://paste.enzotools.org/show/165/
This gets printed out automatically at exit:
Current counter status:
0 : hello : 1.113e-01
1 : this and that : 9.792e-02
2 : boom : 5.903e-03
1 : Hey you : 3.597e-03
0 : blah : 6.301e-04
I haven't decided if the level number at the beginning is a good or bad thing.
See changelog here:
http://hg.enzotools.org/yt/rev/e5fc71364f7c
Any comments?
_______________________________________________________
sskory at physics.ucsd.edu o__ Stephen Skory
http://physics.ucsd.edu/~sskory/ _.>/ _Graduate Student
________________________________(_)_\(_)_______________
More information about the yt-dev
mailing list