mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 09:15:18 +02:00
expose some useful info that can be used in statistics of performence
This commit is contained in:
@@ -220,6 +220,14 @@ extern "C"
|
||||
return generation_finished;
|
||||
}
|
||||
|
||||
float get_prompt_eval_time() {
|
||||
return prompt_eval_time;
|
||||
}
|
||||
|
||||
float get_prompt_process_time() {
|
||||
return prompt_process_time;
|
||||
}
|
||||
|
||||
const char* get_pending_output() {
|
||||
return gpttype_get_pending_output().c_str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user