Boost logo

Boost Users :

Subject: [Boost-users] accumulator operations
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2011-07-01 02:59:56


Hi,

I like to collects some stats. There are several data slices where I can
partially/separated collect them (each of them). Finaly I like to
combine these stats to a single one to get summarized informations. How
to? May this work:

accumulator_set<..> acc1;
accumulator_set<..> acc2;
...
accumulator_set<..> acc_all;
...
acc1(42);
...
acc_all += acc1;
...
acc_all += acc2;

Because did not found informations about. The same problem woulde be
probably for a threaded implementation too.

Thanks,
Olaf


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net