proxygen
|
#include <folly/stats/Histogram.h>
#include <folly/portability/GTest.h>
#include <folly/stats/Histogram-defs.h>
Go to the source code of this file.
Functions | |
TEST (Histogram, Test100) | |
TEST (Histogram, TestEmpty) | |
TEST (Histogram, Test1) | |
TEST (Histogram, TestOverflowMin) | |
TEST (Histogram, TestOverflowMax) | |
TEST (Histogram, TestOverflowBucket) | |
TEST (Histogram, TestDouble) | |
TEST (Histogram, TestDoubleInexactWidth) | |
TEST (Histogram, TestDoubleWidthTooBig) | |
TEST (Histogram, Counts) | |
TEST | ( | Histogram | , |
Test100 | |||
) |
Definition at line 25 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, EXPECT_FLOAT_EQ, folly::Histogram< T >::getNumBuckets(), folly::Histogram< T >::getPercentileBucketIdx(), folly::Histogram< T >::getPercentileEstimate(), and h.
TEST | ( | Histogram | , |
TestEmpty | |||
) |
Definition at line 70 of file HistogramTest.cpp.
References EXPECT_EQ, EXPECT_FLOAT_EQ, folly::Histogram< T >::getPercentileBucketIdx(), folly::Histogram< T >::getPercentileEstimate(), and h.
TEST | ( | Histogram | , |
Test1 | |||
) |
Definition at line 89 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, EXPECT_FLOAT_EQ, folly::Histogram< T >::getPercentileBucketIdx(), folly::Histogram< T >::getPercentileEstimate(), and h.
TEST | ( | Histogram | , |
TestOverflowMin | |||
) |
Definition at line 109 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, folly::Histogram< T >::getPercentileEstimate(), h, int64_t, and min.
TEST | ( | Histogram | , |
TestOverflowMax | |||
) |
Definition at line 128 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, folly::Histogram< T >::getPercentileEstimate(), h, int64_t, and max.
TEST | ( | Histogram | , |
TestOverflowBucket | |||
) |
Definition at line 143 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, folly::Histogram< T >::getPercentileEstimate(), h, and int64_t.
TEST | ( | Histogram | , |
TestDouble | |||
) |
Definition at line 156 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, folly::Histogram< T >::getNumBuckets(), folly::Histogram< T >::getPercentileEstimate(), and h.
TEST | ( | Histogram | , |
TestDoubleInexactWidth | |||
) |
Definition at line 168 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, folly::Histogram< T >::getBucketByIndex(), folly::Histogram< T >::getNumBuckets(), folly::Histogram< T >::getPercentileEstimate(), and h.
TEST | ( | Histogram | , |
TestDoubleWidthTooBig | |||
) |
Definition at line 187 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), EXPECT_EQ, EXPECT_NEAR, folly::Histogram< T >::getBucketByIndex(), folly::Histogram< T >::getNumBuckets(), folly::Histogram< T >::getPercentileEstimate(), and h.
TEST | ( | Histogram | , |
Counts | |||
) |
Definition at line 207 of file HistogramTest.cpp.
References folly::Histogram< T >::addValue(), folly::Histogram< T >::computeTotalCount(), EXPECT_EQ, folly::Histogram< T >::getNumBuckets(), h, i, and int32_t.