10 size_t removed_ctr = 0;
15 auto tail = acc.last();
16 auto head = acc.first();
18 tailts = (*tail).get_timestamp();
19 headts = (*head).get_timestamp();
21 <<
"Oldest stored TS=" << headts <<
" "
22 <<
"Newest stored TS=" << tailts;
27 bool removed = acc.remove(*head);
34 headts = (*head).get_timestamp();
35 timediff = tailts - headts;
std::atomic< int > m_pops_count
std::atomic< int > m_num_buffer_cleanups
std::shared_ptr< datahandlinglibs::SkipListLatencyBufferModel< T > > & m_latency_buffer
std::atomic< uint64_t > m_oldest_timestamp
std::atomic< int > m_pop_reqs
static const constexpr uint64_t m_max_ts_diff
typename folly::ConcurrentSkipList< T >::Accessor SkipListAcc
void skip_list_cleanup_request()
#define TLOG_DEBUG(lvl,...)