server: Fix undefined timing measurement errors in server context (#21201)

Co-authored-by: Dan Hoffman <dhoffman@cyket.net>
This commit is contained in:
Dan HoffmanandDan Hoffman authored and GitHub committed 2026-04-04 22:11:19 +08:00
1 parent d01f6274c0
commit 9c699074c9
2 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -155,8 +155,8 @@ struct server_slot {
int64_t t_start_process_prompt;
int64_t t_start_generation;
double t_prompt_processing; // ms
double t_token_generation; // ms
double t_prompt_processing = 0.0; // ms
double t_token_generation = 0.0; // ms
std::function<void(int /* id_slot */)> callback_on_release;