proxygen
|
Classes | |
struct | Default |
struct | Haswell |
struct | Nehalem |
Enumerations | |
enum | Type { Type::DEFAULT, Type::NEHALEM, Type::HASWELL } |
Functions | |
Type | detect () |
template<class F > | |
auto | dispatch (Type type, F &&f) -> decltype(f(std::declval< Default >())) |
template<class F > | |
auto | dispatch (F &&f) -> decltype(f(std::declval< Default >())) |
|
strong |
Enumerator | |
---|---|
DEFAULT | |
NEHALEM | |
HASWELL |
Definition at line 152 of file Instructions.h.
|
inline |
Definition at line 158 of file Instructions.h.
References DEFAULT, HASWELL, NEHALEM, folly::compression::instructions::Nehalem::supported(), folly::compression::instructions::Haswell::supported(), and type.
Referenced by dispatch().
auto folly::compression::instructions::dispatch | ( | Type | type, |
F && | f | ||
) | -> decltype(f(std::declval<Default>())) |
Definition at line 175 of file Instructions.h.
References folly::assume_unreachable(), DEFAULT, f, HASWELL, NEHALEM, and type.
Referenced by dispatch(), folly::compression::dispatchInstructions(), folly::pushmi::strand_queue_base< E >::front(), folly::compression::instructionsOverride(), and folly::pushmi::time_source_queue_base< E, TP >::top().
auto folly::compression::instructions::dispatch | ( | F && | f | ) | -> decltype(f(std::declval<Default>())) |
Definition at line 189 of file Instructions.h.
References detect(), dispatch(), and f.