add more perf stats

This commit is contained in:
Concedo 2025-03-12 18:58:27 +08:00
parent e500968f92
commit eb1809c105
6 changed files with 39 additions and 15 deletions

View file

@ -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;
}