server: Fix undefined timing measurement errors in server context (#21201)
Co-authored-by: Dan Hoffman <dhoffman@cyket.net>
This commit is contained in:
parent
d01f6274c0
commit
9c699074c9
2 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue