]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: calculate stddev on the fly 21461/head
authorYao Zongyou <yaozongyou@vip.qq.com>
Tue, 17 Apr 2018 08:41:08 +0000 (16:41 +0800)
committerYao Zongyou <yaozongyou@vip.qq.com>
Tue, 17 Apr 2018 08:41:08 +0000 (16:41 +0800)
commit65902ac409e6974885f4019fc4a1b657747d6aba
treea9ab70c79efc974a49b0564688c95fc146ac20f5
parent60e8a63fdc21654d7f199a67f3f410a9e33c8134
common: calculate stddev on the fly

Calculate stddev on the fly using rapid calculation methods:
https://en.wikipedia.org/wiki/Standard_deviation#Rapid_calculation_methods
no need to keep bench history.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
src/common/obj_bencher.cc
src/common/obj_bencher.h