stats: add function for adding two histograms
authorNilay Vaish <nilay@cs.wisc.edu>
Fri, 10 Jan 2014 22:19:40 +0000 (16:19 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Fri, 10 Jan 2014 22:19:40 +0000 (16:19 -0600)
commitcfe912a5127b51273d7e3e78c15095ac832f20bd
tree1585ad1befbbcb9bd50e1dc02c96cf9b1cccf209
parent0387281e2a83fe34ddb23cc48a9f86fd60729d25
stats: add function for adding two histograms
This patch adds a function to the HistStor class for adding two histograms.
This functionality is required for Ruby.  It also adds support for printing
histograms in a single line.
src/base/statistics.cc
src/base/statistics.hh
src/base/stats/text.cc