A single user‐defined benchmark metric holding a value and its kind.

Synopsis

Declared in <folly/Benchmark.h>

class UserMetric;

Enums

Name

Description

Type

The kind of value a UserMetric holds.

Member Functions

Name

Description

UserMetric [constructor]

Constructors

Data Members

Name

Description

type

The kind of the stored value.

value

The stored metric value, as an integer or a floating‐point number.

Friends

Name

Description

folly::operator!=

Compare two metrics for inequality.

folly::operator==

Compare two metrics for equality.

Created with MrDocs