2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_Basic_Stats::ACE_Basic_Stats ()
16 ACE_Basic_Stats::samples_count () const
18 return this->samples_count_;
22 ACE_Basic_Stats::sample (ACE_UINT64 value)
24 ++this->samples_count_;
26 if (this->samples_count_ == 1u)
29 this->min_at_ = this->samples_count_;
31 this->max_at_ = this->samples_count_;
35 if (this->min_ > value)
38 this->min_at_ = this->samples_count_;
40 if (this->max_ < value)
43 this->max_at_ = this->samples_count_;
50 ACE_END_VERSIONED_NAMESPACE_DECL