2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_Sample_History::sample (ACE_UINT64 value)
7 if (this->sample_count_ >= this->max_samples_)
10 this->samples_[this->sample_count_++] = value;
15 ACE_Sample_History::get_sample (size_t i) const
17 if (this->sample_count_ <= i)
20 return this->samples_[i];
24 ACE_Sample_History::max_samples () const
26 return this->max_samples_;
30 ACE_Sample_History::sample_count () const
32 return this->sample_count_;
35 ACE_END_VERSIONED_NAMESPACE_DECL