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

Function llama_reset_timings

llama.cpp:10857–10862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10855}
10856
10857void llama_reset_timings(struct llama_context * ctx) {
10858 ctx->t_start_us = ggml_time_us();
10859 ctx->t_sample_us = ctx->n_sample = 0;
10860 ctx->t_eval_us = ctx->n_eval = 0;
10861 ctx->t_p_eval_us = ctx->n_p_eval = 0;
10862}
10863
10864const char * llama_print_system_info(void) {
10865 static std::string s;

Callers 1

Calls 1

ggml_time_usFunction · 0.70

Tested by

no test coverage detected