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

Method init

smallthinker/tools/server/server.cpp:1516–1518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1514 uint64_t n_busy_slots_total = 0;
1515
1516 void init() {
1517 t_start = ggml_time_us();
1518 }
1519
1520 void on_prompt_eval(const server_slot & slot) {
1521 n_prompt_tokens_processed_total += slot.n_prompt_tokens_processed;

Callers 2

initMethod · 0.45
mainFunction · 0.45

Calls 1

ggml_time_usFunction · 0.50

Tested by

no test coverage detected