20 #include <glog/logging.h> 23 coding_test_utils_instructions,
25 "If non empty, forces the instruction set. Choices: Default, Nehalem, Haswell");
28 namespace compression {
31 if (FLAGS_coding_test_utils_instructions.empty()) {
36 if (FLAGS_coding_test_utils_instructions ==
"Default") {
38 }
else if (FLAGS_coding_test_utils_instructions ==
"Nehalem") {
40 }
else if (FLAGS_coding_test_utils_instructions ==
"Haswell") {
43 LOG(
FATAL) <<
"Insupported instructions type " 44 << FLAGS_coding_test_utils_instructions;
48 type, [](
auto instructions) { CHECK(instructions.supported()); });
folly::Optional< instructions::Type > instructionsOverride()
DEFINE_string(coding_test_utils_instructions,"","If non empty, forces the instruction set. Choices: Default, Nehalem, Haswell")
—— Concurrent Priority Queue Implementation ——
auto dispatch(Type type, F &&f) -> decltype(f(std::declval< Default >()))