MCPcopy Create free account
hub / github.com/cortexproject/cortex / SetPeakSamples

Method SetPeakSamples

pkg/querier/stats/stats.go:365–371  ·  view source on GitHub ↗
(count uint64)

Source from the content-addressed store, hash-verified

363}
364
365func (s *QueryStats) SetPeakSamples(count uint64) {
366 if s == nil {
367 return
368 }
369
370 atomic.StoreUint64(&s.PeakSamples, count)
371}
372
373func (s *QueryStats) LoadPeakSamples() uint64 {
374 if s == nil {

Callers 2

MergeMethod · 0.95
partitionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected