
14 Feb
2010
14 Feb
'10
11:29 p.m.
On 2/14/2010 9:13 AM, Neal Becker wrote:
If I have:
typedef accumulator_set<el_t,stats<tag::mean> > accum_t;
Is there a way to get the count of the number of samples?
You need to add a dependency on the count feature: accumulator_set<el_t, stats<tag::mean, tag::count> > Now you can get the count of samples using the count extractor. HTH, -- Eric Niebler BoostPro Computing http://www.boostpro.com