#include <stat.h>
Public Types | |
typedef Stat1< VType, NumType > | Self |
Public Member Functions | |
void | Clear () |
VType | Mean () const |
VType | Mean (VType *stddev) const |
NumType | numSamples () const |
Self | operator* (const VType &k) const |
Self & | operator*= (const VType &k) |
Self | operator+ (const Self &stat) const |
Self & | operator+= (const Self &stat) |
Self | operator- (const Self &stat) const |
Self & | operator-= (const Self &stat) |
Self & | operator= (const Self &stat) |
Stat1 () | |
Stat1 (const Self &stat) | |
Stat1 (const VType &dat) | |
Stat1 (const VType &dat, const NumType &w) | |
Stat1 (const VType *begin, const VType *end) | |
VType | StdDev () const |
VType | Sum () const |
Static Private Member Functions | |
template<typename SType > | |
static SType | Sqr (const SType &dat) |
template<typename SType > | |
static Vector2< SType > | Sqr (const Vector2< SType > &dat) |
template<typename SType > | |
static Vector3< SType > | Sqr (const Vector3< SType > &dat) |
template<typename SType > | |
static Vector4< SType > | Sqr (const Vector4< SType > &dat) |
template<typename SType > | |
static SType | Sqrt (const SType &dat) |
template<typename SType > | |
static Vector2< SType > | Sqrt (const Vector2< SType > &dat) |
template<typename SType > | |
static Vector3< SType > | Sqrt (const Vector3< SType > &dat) |
template<typename SType > | |
static Vector4< SType > | Sqrt (const Vector4< SType > &dat) |
Private Attributes | |
NumType | numsamples_ |
VType | sum_ |
VType | sum_squares_ |
typedef Stat1<VType, NumType> benchmark::Stat1< VType, NumType >::Self |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inline |
|
inline |
|
private |
|
private |
|
private |