I'm trying to calculate the run time of all the initializers in
Firefox [1]. I'm placing the initialization time by library into an
aggregation but I also need the sum of all the values in the
aggregation. Is there an easy way to achieve this with D?
I tried using a static variable (see startup.d) but initializers are
being run in different threads and they overwrite my global counter.
Thanks, Joel
[1]
http://github.com/wagerlabs/firefox-startup/blob/bd2047f763511b7a016ddf4c66fad0611ae722c9/startup.d
---
fastest mac firefox!
http://wagerlabs.com
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org