#include <prediction_thread_pool.h>
◆ ForEach()
template<typename InputIter , typename F >
static void apollo::prediction::PredictionThreadPool::ForEach |
( |
InputIter |
begin, |
|
|
InputIter |
end, |
|
|
F |
f |
|
) |
| |
|
inlinestatic |
在文件 prediction_thread_pool.h 第 107 行定义.
107 {
109 }
void ForEach(InputIter begin, InputIter end, F f)
static BaseThreadPool * Instance()
◆ Instance()
BaseThreadPool * apollo::prediction::PredictionThreadPool::Instance |
( |
| ) |
|
|
static |
在文件 prediction_thread_pool.cc 第 62 行定义.
62 {
64 int max_thread_pool_level =
66 CHECK_LT(pool_level, max_thread_pool_level);
68 switch (index) {
69 case 0: {
71 }
72 case 1: {
74 }
75 case 2: {
77 }
78 }
79 AERROR <<
"Should not hit here";
81}
static std::vector< int > THREAD_POOL_CAPACITY
static LevelThreadPool * Instance()
static thread_local int s_thread_pool_level
◆ s_thread_pool_level
thread_local int apollo::prediction::PredictionThreadPool::s_thread_pool_level = 0 |
|
static |
该类的文档由以下文件生成: