mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +01:00
ircd::gpt: Fix doc comment on count vs. tokens. [ci skip]
This commit is contained in:
parent
a3eeb1aa9c
commit
33094ece07
1 changed files with 8 additions and 6 deletions
|
@ -94,14 +94,16 @@ struct ircd_gpt_ctrl
|
|||
/// commanded by the host. Effectively minimum distance until next accept.
|
||||
uint dispatch;
|
||||
|
||||
/// Token counter. The counter indicates the number of valid tokens in
|
||||
/// the context buffer. This value must not exceed the opts.buffer_size.
|
||||
/// This value should not exceed the opts.context_size at least for now.
|
||||
/// Token counter. The counter indicates the number of tokens in the
|
||||
/// context buffer, the last token residing at `buffer[count-1]`. Each
|
||||
/// cycle produces the next token at `buffer[count]`; increments count.
|
||||
uint count;
|
||||
|
||||
/// Token counter. The counter indicates the number of valid tokens in
|
||||
/// the context buffer. This value must not exceed the opts.buffer_size.
|
||||
/// This value should not exceed the opts.context_size at least for now.
|
||||
/// Token counter. The counter indicates the actual number of valid tokens
|
||||
/// in the context buffer. The value is always `>= count`. Tokens are only
|
||||
/// generated to `buffer[count]` when `tokens == count` and both are
|
||||
/// incremented in unison. When `tokens > count` generated tokens are only
|
||||
/// evaluated against the existing context buffer and `tokens` not incr.
|
||||
uint tokens;
|
||||
|
||||
/// Master clock.
|
||||
|
|
Loading…
Add table
Reference in a new issue