Lines Matching refs:PeriodicTask
47 int PeriodicTask::_num_tasks = 0;
48 PeriodicTask* PeriodicTask::_tasks[PeriodicTask::max_tasks];
50 elapsedTimer PeriodicTask::_timer;
51 int PeriodicTask::_intervalHistogram[PeriodicTask::max_interval];
52 int PeriodicTask::_ticks;
54 void PeriodicTask::print_intervals() {
56 for (int i = 0; i < PeriodicTask::max_interval; i++) {
64 void PeriodicTask::real_time_tick(int delay_time) {
72 if (ms >= PeriodicTask::max_interval) ms = PeriodicTask::max_interval - 1;
91 int PeriodicTask::time_to_wait() {
107 PeriodicTask::PeriodicTask(size_t interval_time) :
110 assert(_interval >= PeriodicTask::min_interval &&
111 _interval <= PeriodicTask::max_interval &&
112 _interval % PeriodicTask::interval_gran == 0,
113 "improper PeriodicTask interval time");
116 PeriodicTask::~PeriodicTask() {
122 void PeriodicTask::enroll() {
126 if (_num_tasks == PeriodicTask::max_tasks) {
127 fatal("Overflow in PeriodicTask table");
141 void PeriodicTask::disenroll() {