NFAPI_TRACE(NFAPI_TRACE_INFO,"%s()[SCHED][eNB] %s started on CPU %d, sched_policy = %s , priority = %d, CPU Affinity=%s \n",__FUNCTION__,"nfapi_vnf_p7_time",sched_getcpu(),
@@ -282,129 +345,27 @@ if (selectRetval==-1 && errno == 22)
sf_start.tv_sec--;
sf_start.tv_nsec+=1e9;
}
#else
//NFAPI_TRACE(NFAPI_TRACE_NOTE, "[VNF] BEFORE adjustment - Subframe minor adjustment %dus sf_start.tv_nsec:%d\n", phy->insync_minor_adjustment, sf_start.tv_nsec);
if(phy->insync_minor_adjustment>0)
{
// decrease the subframe duration a little
if(sf_start.tv_nsec>insync_minor_adjustment_ns)
sf_start.tv_nsec-=insync_minor_adjustment_ns;
else
{
NFAPI_TRACE(NFAPI_TRACE_ERROR,"[VNF] Adjustment would make it negative sf:%d.%ld adjust:%ld\n\n\n",sf_start.tv_sec,sf_start.tv_nsec,insync_minor_adjustment_ns);