mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-10 04:00:53 +00:00
expose timing info in web api
This commit is contained in:
parent
7222877069
commit
1d1111e10f
4 changed files with 17 additions and 16 deletions
|
|
@ -220,12 +220,12 @@ extern "C"
|
|||
return generation_finished;
|
||||
}
|
||||
|
||||
float get_prompt_eval_time() {
|
||||
return prompt_eval_time;
|
||||
float get_last_eval_time() {
|
||||
return last_eval_time;
|
||||
}
|
||||
|
||||
float get_prompt_process_time() {
|
||||
return prompt_process_time;
|
||||
float get_last_process_time() {
|
||||
return last_process_time;
|
||||
}
|
||||
|
||||
const char* get_pending_output() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue