Searched refs:TaskDuration (Results 1 – 3 of 3) sorted by relevance
69 using TaskDuration = std::chrono::duration<double, std::milli>; variable73 constexpr TaskDuration default_process_time = TaskDuration(33);
102 const TaskDuration max_process_time = default_process_time)297 const TaskDuration getMaxProceedTime() { return max_process_time_; } in getMaxProceedTime()298 void setMaxProceedTime(const TaskDuration duration) { max_process_time_ = duration; } in setMaxProceedTime()300 max_process_time_ = TaskDuration(std::chrono::milliseconds(1000 / fps)); in setMaxProceedTimeByFps()313 TaskDuration max_process_time_;
73 svc->setMaxProceedTime(TaskDuration(10)); in main()