Home
last modified time | relevance | path

Searched refs:tokens_per_hit (Results 1 – 2 of 2) sorted by relevance

/dports/net/chrony/chrony-4.2/
H A Dclientlog.c104 static uint16_t tokens_per_hit[MAX_SERVICES]; variable
355 tokens_per_hit[i] = 0; in CLG_Initialise()
377 set_bucket_params(interval, burst, &max_tokens[i], &tokens_per_hit[i], &token_shift[i]); in CLG_Initialise()
605 if (tokens_per_hit[service] == 0) in CLG_LimitServiceRate()
611 if (record->tokens[service] >= tokens_per_hit[service]) { in CLG_LimitServiceRate()
612 record->tokens[service] -= tokens_per_hit[service]; in CLG_LimitServiceRate()
/dports/net/chrony-lite/chrony-4.2/
H A Dclientlog.c104 static uint16_t tokens_per_hit[MAX_SERVICES]; variable
355 tokens_per_hit[i] = 0; in CLG_Initialise()
377 set_bucket_params(interval, burst, &max_tokens[i], &tokens_per_hit[i], &token_shift[i]); in CLG_Initialise()
605 if (tokens_per_hit[service] == 0) in CLG_LimitServiceRate()
611 if (record->tokens[service] >= tokens_per_hit[service]) { in CLG_LimitServiceRate()
612 record->tokens[service] -= tokens_per_hit[service]; in CLG_LimitServiceRate()