class HistogramBucket
Defined at line 1235 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
One bucket of a histogram, used by the method LogIntegerHistogram.
Public Methods
void HistogramBucket (Storage_ storage)
void HistogramBucket (uint32_t index, uint64_t count)
void HistogramBucket ()
Default constructs a |HistogramBucket| only if all of its members are default constructible.
Defined at line 1246 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
void HistogramBucket (HistogramBucket && )
Defined at line 1249 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
void HistogramBucket (const HistogramBucket & other)
HistogramBucket & operator= (HistogramBucket && )
Defined at line 1250 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/natural_types.h
HistogramBucket & operator= (const HistogramBucket & other)
bool operator== (const HistogramBucket & other)
bool operator!= (const HistogramBucket & other)
uint32_t index ()
The index of the bucket. The metric includes a specification
of a sequence of N+1 integer-range buckets that are indexed from
0, the underflow bucket, to N, the overflow bucket.
uint32_t & index ()
The index of the bucket. The metric includes a specification
of a sequence of N+1 integer-range buckets that are indexed from
0, the underflow bucket, to N, the overflow bucket.
HistogramBucket & index (uint32_t value)
The index of the bucket. The metric includes a specification
of a sequence of N+1 integer-range buckets that are indexed from
0, the underflow bucket, to N, the overflow bucket.
uint64_t count ()
The number of values in that bucket.
To save space/memory/bandwidth, empty buckets should not be included.
uint64_t & count ()
The number of values in that bucket.
To save space/memory/bandwidth, empty buckets should not be included.
HistogramBucket & count (uint64_t value)
The number of values in that bucket.
To save space/memory/bandwidth, empty buckets should not be included.
void HistogramBucket (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits