Home
last modified time | relevance | path

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

/rocksdb-6.9/monitoring/
Dstatistics.cc249 for (size_t core_idx = 0; core_idx < per_core_stats_.Size(); ++core_idx) { in getTickerCountLocked()
250 res += per_core_stats_.AccessAtCore(core_idx)->tickers_[tickerType]; in getTickerCountLocked()
265 for (size_t core_idx = 0; core_idx < per_core_stats_.Size(); ++core_idx) { in getHistogramImplLocked()
267 per_core_stats_.AccessAtCore(core_idx)->histograms_[histogramType]); in getHistogramImplLocked()
289 for (size_t core_idx = 0; core_idx < per_core_stats_.Size(); ++core_idx) { in setTickerCountLocked()
291 per_core_stats_.AccessAtCore(core_idx)->tickers_[tickerType] = count; in setTickerCountLocked()
293 per_core_stats_.AccessAtCore(core_idx)->tickers_[tickerType] = 0; in setTickerCountLocked()
303 for (size_t core_idx = 0; core_idx < per_core_stats_.Size(); ++core_idx) { in getAndResetTickerCount()
317 per_core_stats_.Access()->tickers_[tickerType].fetch_add( in recordTick()
329 per_core_stats_.Access()->histograms_[histogramType].Add(value); in recordInHistogram()
[all …]
Dstatistics.h101 CoreLocalArray<StatisticsData> per_core_stats_; variable