Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
benchmark::Stat1< VType, NumType > Class Template Reference

#include <stat.h>

Public Types

typedef Stat1< VType, NumType > Self
 
typedef Stat1< VType, NumType > Self
 

Public Member Functions

void Clear ()
 
void Clear ()
 
VType Mean () const
 
VType Mean () const
 
VType Mean (VType *stddev) const
 
VType Mean (VType *stddev) const
 
NumType numSamples () const
 
NumType numSamples () const
 
Self operator* (const VType &k) const
 
Self operator* (const VType &k) const
 
Selfoperator*= (const VType &k)
 
Selfoperator*= (const VType &k)
 
Self operator+ (const Self &stat) const
 
Self operator+ (const Self &stat) const
 
Selfoperator+= (const Self &stat)
 
Selfoperator+= (const Self &stat)
 
Self operator- (const Self &stat) const
 
Self operator- (const Self &stat) const
 
Selfoperator-= (const Self &stat)
 
Selfoperator-= (const Self &stat)
 
Selfoperator= (const Self &stat)
 
Selfoperator= (const Self &stat)
 
 Stat1 ()
 
 Stat1 ()
 
 Stat1 (const Self &stat)
 
 Stat1 (const Self &stat)
 
 Stat1 (const VType &dat)
 
 Stat1 (const VType &dat)
 
 Stat1 (const VType &dat, const NumType &w)
 
 Stat1 (const VType &dat, const NumType &w)
 
 Stat1 (const VType *begin, const VType *end)
 
 Stat1 (const VType *begin, const VType *end)
 
VType StdDev () const
 
VType StdDev () const
 
VType Sum () const
 
VType Sum () const
 

Static Private Member Functions

template<typename SType >
static SType Sqr (const SType &dat)
 
template<typename SType >
static SType Sqr (const SType &dat)
 
template<typename SType >
static Vector2< SType > Sqr (const Vector2< 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 Vector3< SType > Sqr (const Vector3< SType > &dat)
 
template<typename SType >
static Vector4< SType > Sqr (const Vector4< 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 SType Sqrt (const SType &dat)
 
template<typename SType >
static Vector2< SType > Sqrt (const Vector2< 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 Vector3< SType > Sqrt (const Vector3< SType > &dat)
 
template<typename SType >
static Vector4< SType > Sqrt (const Vector4< SType > &dat)
 
template<typename SType >
static Vector4< SType > Sqrt (const Vector4< SType > &dat)
 

Private Attributes

NumType numsamples_
 
VType sum_
 
VType sum_squares_
 

Detailed Description

template<typename VType, typename NumType>
class benchmark::Stat1< VType, NumType >

Definition at line 12 of file third_party/bloaty/third_party/protobuf/third_party/benchmark/src/stat.h.

Member Typedef Documentation

◆ Self [1/2]

template<typename VType , typename NumType >
typedef Stat1<VType, NumType> benchmark::Stat1< VType, NumType >::Self

◆ Self [2/2]

template<typename VType , typename NumType >
typedef Stat1<VType, NumType> benchmark::Stat1< VType, NumType >::Self

Constructor & Destructor Documentation

◆ Stat1() [1/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( )
inline

◆ Stat1() [2/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const VType &  dat)
inlineexplicit

◆ Stat1() [3/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const VType *  begin,
const VType *  end 
)
inlineexplicit

◆ Stat1() [4/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const VType &  dat,
const NumType &  w 
)
inline

◆ Stat1() [5/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const Self stat)
inline

◆ Stat1() [6/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( )
inline

◆ Stat1() [7/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const VType &  dat)
inlineexplicit

◆ Stat1() [8/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const VType *  begin,
const VType *  end 
)
inlineexplicit

◆ Stat1() [9/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const VType &  dat,
const NumType &  w 
)
inline

◆ Stat1() [10/10]

template<typename VType , typename NumType >
benchmark::Stat1< VType, NumType >::Stat1 ( const Self stat)
inline

Member Function Documentation

◆ Clear() [1/2]

template<typename VType , typename NumType >
void benchmark::Stat1< VType, NumType >::Clear ( )
inline

◆ Clear() [2/2]

template<typename VType , typename NumType >
void benchmark::Stat1< VType, NumType >::Clear ( )
inline

◆ Mean() [1/4]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::Mean ( ) const
inline

◆ Mean() [2/4]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::Mean ( ) const
inline

◆ Mean() [3/4]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::Mean ( VType *  stddev) const
inline

◆ Mean() [4/4]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::Mean ( VType *  stddev) const
inline

◆ numSamples() [1/2]

template<typename VType , typename NumType >
NumType benchmark::Stat1< VType, NumType >::numSamples ( ) const
inline

◆ numSamples() [2/2]

template<typename VType , typename NumType >
NumType benchmark::Stat1< VType, NumType >::numSamples ( ) const
inline

◆ operator*() [1/2]

template<typename VType , typename NumType >
Self benchmark::Stat1< VType, NumType >::operator* ( const VType &  k) const
inline

◆ operator*() [2/2]

template<typename VType , typename NumType >
Self benchmark::Stat1< VType, NumType >::operator* ( const VType &  k) const
inline

◆ operator*=() [1/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator*= ( const VType &  k)
inline

◆ operator*=() [2/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator*= ( const VType &  k)
inline

◆ operator+() [1/2]

template<typename VType , typename NumType >
Self benchmark::Stat1< VType, NumType >::operator+ ( const Self stat) const
inline

◆ operator+() [2/2]

template<typename VType , typename NumType >
Self benchmark::Stat1< VType, NumType >::operator+ ( const Self stat) const
inline

◆ operator+=() [1/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator+= ( const Self stat)
inline

◆ operator+=() [2/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator+= ( const Self stat)
inline

◆ operator-() [1/2]

template<typename VType , typename NumType >
Self benchmark::Stat1< VType, NumType >::operator- ( const Self stat) const
inline

◆ operator-() [2/2]

template<typename VType , typename NumType >
Self benchmark::Stat1< VType, NumType >::operator- ( const Self stat) const
inline

◆ operator-=() [1/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator-= ( const Self stat)
inline

◆ operator-=() [2/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator-= ( const Self stat)
inline

◆ operator=() [1/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator= ( const Self stat)
inline

◆ operator=() [2/2]

template<typename VType , typename NumType >
Self& benchmark::Stat1< VType, NumType >::operator= ( const Self stat)
inline

◆ Sqr() [1/8]

template<typename VType , typename NumType >
template<typename SType >
static SType benchmark::Stat1< VType, NumType >::Sqr ( const SType &  dat)
inlinestaticprivate

◆ Sqr() [2/8]

template<typename VType , typename NumType >
template<typename SType >
static SType benchmark::Stat1< VType, NumType >::Sqr ( const SType &  dat)
inlinestaticprivate

◆ Sqr() [3/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector2<SType> benchmark::Stat1< VType, NumType >::Sqr ( const Vector2< SType > &  dat)
inlinestaticprivate

◆ Sqr() [4/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector2<SType> benchmark::Stat1< VType, NumType >::Sqr ( const Vector2< SType > &  dat)
inlinestaticprivate

◆ Sqr() [5/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector3<SType> benchmark::Stat1< VType, NumType >::Sqr ( const Vector3< SType > &  dat)
inlinestaticprivate

◆ Sqr() [6/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector3<SType> benchmark::Stat1< VType, NumType >::Sqr ( const Vector3< SType > &  dat)
inlinestaticprivate

◆ Sqr() [7/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector4<SType> benchmark::Stat1< VType, NumType >::Sqr ( const Vector4< SType > &  dat)
inlinestaticprivate

◆ Sqr() [8/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector4<SType> benchmark::Stat1< VType, NumType >::Sqr ( const Vector4< SType > &  dat)
inlinestaticprivate

◆ Sqrt() [1/8]

template<typename VType , typename NumType >
template<typename SType >
static SType benchmark::Stat1< VType, NumType >::Sqrt ( const SType &  dat)
inlinestaticprivate

◆ Sqrt() [2/8]

template<typename VType , typename NumType >
template<typename SType >
static SType benchmark::Stat1< VType, NumType >::Sqrt ( const SType &  dat)
inlinestaticprivate

◆ Sqrt() [3/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector2<SType> benchmark::Stat1< VType, NumType >::Sqrt ( const Vector2< SType > &  dat)
inlinestaticprivate

◆ Sqrt() [4/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector2<SType> benchmark::Stat1< VType, NumType >::Sqrt ( const Vector2< SType > &  dat)
inlinestaticprivate

◆ Sqrt() [5/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector3<SType> benchmark::Stat1< VType, NumType >::Sqrt ( const Vector3< SType > &  dat)
inlinestaticprivate

◆ Sqrt() [6/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector3<SType> benchmark::Stat1< VType, NumType >::Sqrt ( const Vector3< SType > &  dat)
inlinestaticprivate

◆ Sqrt() [7/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector4<SType> benchmark::Stat1< VType, NumType >::Sqrt ( const Vector4< SType > &  dat)
inlinestaticprivate

◆ Sqrt() [8/8]

template<typename VType , typename NumType >
template<typename SType >
static Vector4<SType> benchmark::Stat1< VType, NumType >::Sqrt ( const Vector4< SType > &  dat)
inlinestaticprivate

◆ StdDev() [1/2]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::StdDev ( ) const
inline

◆ StdDev() [2/2]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::StdDev ( ) const
inline

◆ Sum() [1/2]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::Sum ( ) const
inline

◆ Sum() [2/2]

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::Sum ( ) const
inline

Member Data Documentation

◆ numsamples_

template<typename VType , typename NumType >
NumType benchmark::Stat1< VType, NumType >::numsamples_
private

◆ sum_

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::sum_
private

◆ sum_squares_

template<typename VType , typename NumType >
VType benchmark::Stat1< VType, NumType >::sum_squares_
private

The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:57