folly::BenchmarkSuspender

Supporting type for BENCHMARK_SUSPEND defined below.

Synopsis

Declared in <folly/Benchmark.h>

struct BenchmarkSuspender;

Types

Name
DismissedTag

Type Aliases

NameDescription
Duration
Impl The underlying clock-specialized suspender implementation.
TimePoint

Member Functions

NameDescription
operator= Assignment operators
dismiss
dismissing
rehire
operator bool This is for use inside of if-conditions, used in BENCHMARK macros. If-conditions bypass the explicit on operator bool.

Static Data Members

Name
Dismissed

Using Declarations

NameDescription
BenchmarkSuspender Inherit the constructors of the implementation.