mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 02:49:41 +00:00
add more perf stats
This commit is contained in:
parent
e500968f92
commit
eb1809c105
6 changed files with 39 additions and 15 deletions
16
expose.cpp
16
expose.cpp
|
@ -274,6 +274,14 @@ extern "C"
|
|||
{
|
||||
return last_seed;
|
||||
}
|
||||
int get_last_draft_success()
|
||||
{
|
||||
return last_draft_success;
|
||||
}
|
||||
int get_last_draft_failed()
|
||||
{
|
||||
return last_draft_failed;
|
||||
}
|
||||
int get_total_gens() {
|
||||
return total_gens;
|
||||
}
|
||||
|
@ -281,6 +289,14 @@ extern "C"
|
|||
{
|
||||
return total_img_gens;
|
||||
}
|
||||
int get_total_tts_gens()
|
||||
{
|
||||
return total_tts_gens;
|
||||
}
|
||||
int get_total_transcribe_gens()
|
||||
{
|
||||
return total_transcribe_gens;
|
||||
}
|
||||
int get_last_stop_reason() {
|
||||
return (int)last_stop_reason;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue