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

Function llama_perf_context

smallthinker/src/llama-context.cpp:2702–2712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2700//
2701
2702llama_perf_context_data llama_perf_context(const llama_context * ctx) {
2703 llama_perf_context_data data = {};
2704
2705 if (ctx == nullptr) {
2706 return data;
2707 }
2708
2709 data = ctx->perf_get_data();
2710
2711 return data;
2712}
2713
2714void llama_perf_context_print(const llama_context * ctx) {
2715 const auto data = llama_perf_context(ctx);

Callers 2

llama_perf_context_printFunction · 0.85
llama.hFile · 0.85

Calls 1

perf_get_dataMethod · 0.80

Tested by

no test coverage detected