MCPcopy Create free account
hub / github.com/catboost/catboost / BMOut

Function BMOut

tools/enum_parser/parse_enum/benchmark/main.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41 template <class TEnum, class TContext>
42 void BMOut(TContext& iface) {
43 const auto values = SelectValues<TEnum>(5u);
44 TNullOutput null;
45 for (const auto iter : xrange(iface.Iterations())) {
46 Y_UNUSED(iter);
47 for (const auto value : values) {
48 Y_DO_NOT_OPTIMIZE_AWAY(null << value);
49 }
50 }
51 }
52
53 template <class TEnum, class TContext>
54 void BMFromString(TContext& iface) {

Callers

nothing calls this directly

Calls 3

xrangeFunction · 0.85
Y_UNUSEDFunction · 0.85
IterationsMethod · 0.45

Tested by

no test coverage detected