Commit 0ddc772c authored by thamizhselvan.k's avatar thamizhselvan.k

removed hardcoded core id for itti_task and L1_stats

parent d3ed5b7d
...@@ -317,8 +317,7 @@ extern "C" { ...@@ -317,8 +317,7 @@ extern "C" {
void *(*start_routine)(void *), void *(*start_routine)(void *),
void *args_p) { void *args_p) {
task_list_t *t=tasks[task_id]; task_list_t *t=tasks[task_id];
static int cpuno_1 = 39; threadCreate (&t->thread, start_routine, args_p, (char *)itti_get_task_name(task_id),-1,OAI_PRIORITY_RT);
threadCreate (&t->thread, start_routine, args_p, (char *)itti_get_task_name(task_id),cpuno_1++,OAI_PRIORITY_RT);
LOG_I(ITTI,"Created Posix thread %s\n", itti_get_task_name(task_id) ); LOG_I(ITTI,"Created Posix thread %s\n", itti_get_task_name(task_id) );
return 0; return 0;
} }
......
...@@ -500,7 +500,7 @@ void init_gNB_Tpool(int inst) { ...@@ -500,7 +500,7 @@ void init_gNB_Tpool(int inst) {
} }
if ((!get_softmodem_params()->emulate_l1) && (!IS_SOFTMODEM_NOSTATS_BIT)) if ((!get_softmodem_params()->emulate_l1) && (!IS_SOFTMODEM_NOSTATS_BIT))
threadCreate(&proc->L1_stats_thread,nrL1_stats_thread,(void*)gNB,"L1_stats",8,OAI_PRIORITY_RT_LOW); threadCreate(&proc->L1_stats_thread,nrL1_stats_thread,(void*)gNB,"L1_stats",-1,OAI_PRIORITY_RT_LOW);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment