question: use cfs_period & cfs_quota to control the upper limit use of cpu core e.g. . if making a process to fully use two cpu cores , set cfs_period_us to 100000 and set cfs_quota_us to 200000 concode_field_sep CgroupCommon rootCgroup concode_elem_sep CgroupCenter center concode_elem_sep Hierarchy hierarchy concode_elem_sep Logger LOG concode_elem_sep String rootDir concode_elem_sep Map conf concode_field_sep void prepareSubSystem concode_elem_sep void prepare concode_elem_sep void reserveResourcesForWorker concode_elem_sep List<String> getLaunchCommand concode_elem_sep void releaseResourcesForWorker concode_elem_sep void close concode_elem_sep List<String> getLaunchCommandPrefix
target: void function ( CpuCore arg0 , int arg1 ) { if ( arg1 == - 1 ) { arg0 . setCpuCfsQuotaUs ( arg1 ) ; } else { arg0 . setCpuCfsPeriodUs ( 100000 ) ; arg0 . setCpuCfsQuotaUs ( arg1 * 1000 ) ; } }