On Feb 3, 2010, at 1:39 PM, Roy Stogner wrote: > Surprised me too, actually. I think it would be better to turn off > counting entirely when asked via configure (especially since it > requires an atomic unsigned int when threading is on), do the "one > total count" stuff in opt mode with counting on, then do the detailed > stuff in dbg/devel mode with counting on.
I like this idea... I hadn't even thought about the impact to threading with that atomic int (there's a mutex in there too... but it looks like it might just be used in DEBUG mode). I can do the disabling of the _n_objects++ in the constructor / destructor right now if you would like. Derek ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
