MCPcopy Create free account
hub / github.com/alibaba/open-code-review / TotalCacheWriteTokens

Method TotalCacheWriteTokens

internal/llmloop/loop.go:123–123  ·  view source on GitHub ↗

TotalCacheWriteTokens returns the accumulated cache write tokens.

()

Source from the content-addressed store, hash-verified

121
122// TotalCacheWriteTokens returns the accumulated cache write tokens.
123func (r *Runner) TotalCacheWriteTokens() int64 { return atomic.LoadInt64(&r.totalCacheWriteTokens) }
124
125// TotalTokensUsed returns input + output.
126func (r *Runner) TotalTokensUsed() int64 {

Calls

no outgoing calls