Searched refs:period_us (Results 1 – 4 of 4) sorted by relevance
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/ |
D | cfs_bandwidth01.c | 45 const unsigned int period_us = 10000; in set_cpu_quota() local 46 const unsigned int quota_us = (quota_percent / 100) * (float)period_us; in set_cpu_quota() 50 "%u %u", quota_us, period_us); in set_cpu_quota() 53 "%u", period_us); in set_cpu_quota() 59 tst_cg_group_name(cg), quota_us, period_us); in set_cpu_quota()
|
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-drivers/source/ |
D | PwmOut-js.cpp | 162 DECLARE_CLASS_FUNCTION(PwmOut, period_us) { in DECLARE_CLASS_FUNCTION() argument 163 CHECK_ARGUMENT_COUNT(PwmOut, period_us, (args_count == 1)); in DECLARE_CLASS_FUNCTION() 164 CHECK_ARGUMENT_TYPE_ALWAYS(PwmOut, period_us, 0, number); in DECLARE_CLASS_FUNCTION() 178 native_ptr->period_us(static_cast<int>(arg0)); in DECLARE_CLASS_FUNCTION() 285 ATTACH_CLASS_FUNCTION(js_object, PwmOut, period_us); in DECLARE_CLASS_CONSTRUCTOR()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_gpu_load.c | 117 const int period_us = 1000000 / SAMPLES_PER_SEC; in r600_gpu_load_thread() local 118 int sleep_us = period_us; in r600_gpu_load_thread() 129 if (os_time_timeout(last_time, last_time + period_us, in r600_gpu_load_thread()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_gpu_load.c | 133 const int period_us = 1000000 / SAMPLES_PER_SEC; in si_gpu_load_thread() local 134 int sleep_us = period_us; in si_gpu_load_thread() 145 if (os_time_timeout(last_time, last_time + period_us, cur_time)) in si_gpu_load_thread()
|