Home
last modified time | relevance | path

Searched refs:period_us (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
Dcfs_bandwidth01.c45 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/
DPwmOut-js.cpp162 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/
Dr600_gpu_load.c117 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/
Dsi_gpu_load.c133 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()