Supporting type for BENCHMARK_SUSPEND defined below.

Synopsis

Declared in <folly/Benchmark.h>

struct BenchmarkSuspender
    : /* implementation-defined */

Base Classes

Name

Description

/* implementation-defined */

Types

Type Aliases

Name

Description

Duration

Impl

The underlying clock‐specialized suspender implementation.

TimePoint

Member Functions

Name

Description

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

Name

Description

BenchmarkSuspender

Inherit the constructors of the implementation.

Created with MrDocs