MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / caps_print_stats

Function caps_print_stats

subprojects/llama.cpp/common/jinja/caps.cpp:52–62  ·  view source on GitHub ↗

for debugging only

Source from the content-addressed store, hash-verified

50
51// for debugging only
52static void caps_print_stats(value & v, const std::string & path) {
53 std::string ops;
54 for (const auto & name : v->stats.ops) {
55 ops += name + " ";
56 }
57 JJ_DEBUG("Value %s, type: %s %s, ops: %s",
58 path.c_str(),
59 v->type().c_str(),
60 v->stats.used ? "(used)" : "",
61 ops.c_str());
62}
63
64std::map<std::string, bool> caps::to_map() const {
65 return {

Callers 1

caps_getFunction · 0.85

Calls 1

typeMethod · 0.65

Tested by

no test coverage detected