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

Method is_processing

smallthinker/tools/server/server.cpp:1358–1360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1356 }
1357
1358 bool is_processing() const {
1359 return state != SLOT_STATE_IDLE;
1360 }
1361
1362 bool can_speculate() const {
1363 return ctx_dft && params.speculative.n_max > 0 && params.cache_prompt;

Callers 4

on_decodedMethod · 0.45
get_available_slotMethod · 0.45
process_single_taskMethod · 0.45
update_slotsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected