MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / print_test

Method print_test

examples/llama-bench/llama-bench.cpp:681–685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679 }
680
681 void print_test(const test & t) override {
682 std::vector<std::string> values = t.get_values();
683 std::transform(values.begin(), values.end(), values.begin(), escape_csv);
684 fprintf(fout, "%s\n", join(values, ",").c_str());
685 }
686};
687
688struct json_printer : public printer {

Callers 1

mainFunction · 0.45

Calls 7

transformFunction · 0.85
fprintfFunction · 0.85
joinFunction · 0.70
get_valuesMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected