BDE 4.14.0 Production release
Loading...
Searching...
No Matches

Classes

class  BdlmMetricsAdapter
 
class  Category
 
class  CategoryHolder
 
class  Collector
 
class  CollectorRepository
 
struct  ConfigurationUtil
 This struct provides utilities for configuring metrics. More...
 
struct  DefaultMetricsManager
 
class  DefaultMetricsManagerScopedGuard
 
class  IntegerCollector
 
class  IntegerMetric
 
struct  IntegerMetric_MacroImp
 
class  Metric
 
struct  Metric_MacroImp
 
class  MetricDescription
 
class  MetricFormat
 
class  MetricFormatSpec
 
class  MetricId
 
class  MetricRecord
 
class  MetricRegistry
 
struct  Metrics_Helper
 
class  MetricSample
 
class  MetricSampleGroup
 
class  MetricsManager
 
class  PublicationScheduler
 
struct  PublicationType
 
class  Publisher
 
class  StopwatchScopedGuard
 
class  StreamPublisher
 

Functions

bsl::ostream & operator<< (bsl::ostream &stream, const Category &rhs)
 
bool operator== (const IntegerMetric &lhs, const IntegerMetric &rhs)
 
bool operator!= (const IntegerMetric &lhs, const IntegerMetric &rhs)
 
bool operator== (const Metric &lhs, const Metric &rhs)
 
bool operator!= (const Metric &lhs, const Metric &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricDescription &rhs)
 
bool operator== (const MetricFormatSpec &lhs, const MetricFormatSpec &rhs)
 
bool operator!= (const MetricFormatSpec &lhs, const MetricFormatSpec &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricFormatSpec &rhs)
 
bool operator== (const MetricFormat &lhs, const MetricFormat &rhs)
 
bool operator!= (const MetricFormat &lhs, const MetricFormat &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricFormat &rhs)
 
bool operator== (const MetricId &lhs, const MetricId &rhs)
 
bool operator!= (const MetricId &lhs, const MetricId &rhs)
 
bool operator< (const MetricId &lhs, const MetricId &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricId &rhs)
 
bool operator== (const MetricRecord &lhs, const MetricRecord &rhs)
 
bool operator!= (const MetricRecord &lhs, const MetricRecord &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricRecord &record)
 
bool operator== (const MetricSampleGroup &lhs, const MetricSampleGroup &rhs)
 
bool operator!= (const MetricSampleGroup &lhs, const MetricSampleGroup &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricSampleGroup &rhs)
 
bool operator== (const MetricSample &lhs, const MetricSample &rhs)
 
bool operator!= (const MetricSample &lhs, const MetricSample &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, const MetricSample &rhs)
 
bsl::ostream & operator<< (bsl::ostream &stream, PublicationType::Value rhs)
 

Function Documentation

◆ operator!=() [1/8]

bool balm::operator!= ( const IntegerMetric lhs,
const IntegerMetric rhs 
)
inline

Return true if the specified lhs and rhs integer metrics do not have the same value and false otherwise. Two integer metrics do not have the same value if they record measurements using different integer collector objects or if one, but not both, have a null collector (i.e., collector() is 0).

◆ operator!=() [2/8]

bool balm::operator!= ( const Metric lhs,
const Metric rhs 
)
inline

Return true if the specified lhs and rhs metrics do not have the same value and false otherwise. Two metrics do not have the same value if they record measurements using different collector objects or if one, but not both, have a null collector (i.e., collector() is 0).

◆ operator!=() [3/8]

bool balm::operator!= ( const MetricFormat lhs,
const MetricFormat rhs 
)
inline

Return true if the specified lhs and rhs metric formats do not have the same value, and false otherwise. Two metric formats do not have same value if they differ in their formatSpec for any of the enumerated publication types.

◆ operator!=() [4/8]

bool balm::operator!= ( const MetricFormatSpec lhs,
const MetricFormatSpec rhs 
)
inline

Return true if the specified lhs and rhs metric format specs do not have the same value, and false otherwise. Two format specs do not have same value if they differ in their respective values for scale or format attributes.

◆ operator!=() [5/8]

bool balm::operator!= ( const MetricId lhs,
const MetricId rhs 
)
inline

Return true if the specified lhs and rhs metric ids do not have the same value and false otherwise. Two metric ids do not have same value if they refer to different MetricDescription object addresses, or exactly one address is 0.

◆ operator!=() [6/8]

bool balm::operator!= ( const MetricRecord lhs,
const MetricRecord rhs 
)
inline

Return true if the specified lhs and rhs metric records do not have the same value and false otherwise. Two records do not have same value if they differ in their respective values for metricId, count, total, min, or max attributes.

◆ operator!=() [7/8]

bool balm::operator!= ( const MetricSample lhs,
const MetricSample rhs 
)

Return true if the specified lhs and rhs samples do not have the same value, and false otherwise. Two samples do not have the same value if they have different values for their timestamps, or number of record groups, or if any of the groups of records at corresponding indices have different values.

◆ operator!=() [8/8]

bool balm::operator!= ( const MetricSampleGroup lhs,
const MetricSampleGroup rhs 
)

Return true if the specified lhs and rhs sample groups do not have the same value, and false otherwise. Two sample groups do not have the same value if any of the respective record-sequence addresses, number of records, or elapsed time, are not the same.

◆ operator<()

bool balm::operator< ( const MetricId lhs,
const MetricId rhs 
)
inline

Return true if the specified lhs metric id is less than (ordered before) the specified rhs metric id, and return false otherwise'. The lhs is considered less if the (unsigned) address of the contained MetricDescription object is numerically less than the rhs description. Note that this function does not provide any form of alphabetic ordering, and is logically equivalent to the expression lhs.description() < rhs.description().

◆ operator<<() [1/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const Category rhs 
)
inline

Output a formatted description of the specified rhs category to the specified stream, and return the modifiable stream.

◆ operator<<() [2/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricDescription rhs 
)

Write a formatted single-line description of the specified rhs metric description to the specified stream, and return a reference to the modifiable stream.

◆ operator<<() [3/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricFormat rhs 
)
inline

Write a formatted description of the specified rhs metric format to the specified stream, and return a reference to the modifiable stream.

◆ operator<<() [4/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricFormatSpec rhs 
)
inline

Write a formatted description of the specified rhs format spec to the specified stream, and return a reference to the modifiable stream.

◆ operator<<() [5/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricId rhs 
)
inline

Write a description of the specified rhs metric id to the specified stream in some human-readable format, and return a reference to the modifiable stream.

◆ operator<<() [6/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricRecord record 
)
inline

Write a formatted description of the specified record to the specified stream and return a reference to the modifiable stream.

◆ operator<<() [7/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricSample rhs 
)

Write a formatted description of the specified rhs to the specified stream and return a reference to the modifiable stream.

◆ operator<<() [8/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
const MetricSampleGroup rhs 
)

Write a formatted description of the specified rhs to the specified stream and return a reference to the modifiable stream.

◆ operator<<() [9/9]

bsl::ostream & balm::operator<< ( bsl::ostream &  stream,
PublicationType::Value  rhs 
)

Format the specified rhs to the specified output stream and return a reference to the modifiable stream.

◆ operator==() [1/8]

bool balm::operator== ( const IntegerMetric lhs,
const IntegerMetric rhs 
)
inline

Return true if the specified lhs and rhs integer metrics have the same value and false otherwise. Two integer metrics have the same value if they record measurements using the same integer collector object or if they both have null collectors (i.e., collector() is 0).

◆ operator==() [2/8]

bool balm::operator== ( const Metric lhs,
const Metric rhs 
)
inline

Return true if the specified lhs and rhs metrics have the same value and false otherwise. Two metrics have the same value if they record measurements using the same collector object or if they both have a null collector (i.e., collector() is 0).

◆ operator==() [3/8]

bool balm::operator== ( const MetricFormat lhs,
const MetricFormat rhs 
)
inline

Return true if the specified lhs and rhs metric formats have the same value, and false otherwise. Two metric formats have the same value if they have the same value for formatSpec for each of the enumerated publication types.

◆ operator==() [4/8]

bool balm::operator== ( const MetricFormatSpec lhs,
const MetricFormatSpec rhs 
)
inline

Return true if the specified lhs and rhs metric format specs have the same value, and false otherwise. Two format specs have the same value if they have the same values for their scale and format attributes, respectively.

◆ operator==() [5/8]

bool balm::operator== ( const MetricId lhs,
const MetricId rhs 
)
inline

Return true if the specified lhs and rhs metric ids have the same value and false otherwise. Two metric ids have the same value if they each hold the address of the same MetricDescription object, or both addresses are 0.

◆ operator==() [6/8]

bool balm::operator== ( const MetricRecord lhs,
const MetricRecord rhs 
)
inline

Return true if the specified lhs and rhs metric records have the same value and false otherwise. Two records have the same value if they have the same values for their metricId, count, total, min, and max attributes, respectively.

◆ operator==() [7/8]

bool balm::operator== ( const MetricSample lhs,
const MetricSample rhs 
)

Return true if the specified lhs and rhs samples have the same value, and false otherwise. Two samples have the same value if they have the same timestamp value, contain the same number of record groups, and if the respective groups of records at each index position have the same value.

◆ operator==() [8/8]

bool balm::operator== ( const MetricSampleGroup lhs,
const MetricSampleGroup rhs 
)

Return true if the specified lhs and rhs sample groups have the same value, and false otherwise. Two sample groups have the same value if the respective record sequence-addresses, number of records, and elapsed time are the same.