$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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