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

Method perf_reset

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

Source from the content-addressed store, hash-verified

1960}
1961
1962void llama_context::perf_reset() {
1963 t_start_us = ggml_time_us();
1964 t_eval_us = n_eval = 0;
1965 t_p_eval_us = n_p_eval = 0;
1966}
1967
1968//
1969// training

Callers 1

llama_perf_context_resetFunction · 0.80

Calls 1

ggml_time_usFunction · 0.50

Tested by

no test coverage detected