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

Method TotalCacheReadTokens

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

TotalCacheReadTokens returns the accumulated cache read tokens.

()

Source from the content-addressed store, hash-verified

70
71// TotalCacheReadTokens returns the accumulated cache read tokens.
72func (r *Runner) TotalCacheReadTokens() int64 { return atomic.LoadInt64(&r.totalCacheReadTokens) }
73
74// TotalCacheWriteTokens returns the accumulated cache write tokens.
75func (r *Runner) TotalCacheWriteTokens() int64 { return atomic.LoadInt64(&r.totalCacheWriteTokens) }

Callers 1

TestRunner_RecordUsageFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestRunner_RecordUsageFunction · 0.76