1 #include "ace/Log_Msg.h"
4 Task_Stats::sample (ACE_UINT32 thr_run_time, int thr_count)
6 if (this->samples_count_ >= this->max_samples_)
8 ACE_DEBUG ((LM_DEBUG, "Task_Stats::sample ret -1\n"));
12 this->thr_run_time_[this->samples_count_] = thr_run_time;
13 this->thr_count_[this->samples_count_] = thr_count;
15 this->samples_count_++;