Searched refs:duty_cycle (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/tools/busy_threads/ |
D | busy_threads.cc | 97 int64_t duty_cycle = -1; in BusyThreadsMain() local 120 duty_cycle = atol(optarg); in BusyThreadsMain() 131 if (num_threads < 1 || period_us < 0 || duty_cycle < 1 || duty_cycle > 100 || in BusyThreadsMain() 137 int64_t busy_us = static_cast<int64_t>(period_us * (duty_cycle / 100.0)); in BusyThreadsMain()
|
/external/perfetto/tools/ |
D | load_tool | 106 num_threads, duty_cycle, period_us): argument 109 '--duty_cycle={}'.format(duty_cycle), 117 prio_name, buffer_size_kb, drain_rate_ms, num_threads, duty_cycle, 160 prio_name, buffer_size_kb, drain_rate_ms, num_threads, duty_cycle, 168 for duty_cycle in BUSY_THREADS_DUTY_CYCLE_PARAMS: 171 num_threads, duty_cycle, period_us)
|
/external/u-boot/drivers/power/regulator/ |
D | pwm_regulator.c | 67 int duty_cycle; in pwm_regulator_set_voltage() local 70 duty_cycle = pwm_voltage_to_duty_cycle_percentage(dev, uvolt); in pwm_regulator_set_voltage() 79 priv->period_ns, (priv->period_ns / 100) * duty_cycle); in pwm_regulator_set_voltage()
|
/external/u-boot/drivers/video/ |
D | pwm_backlight.c | 59 uint duty_cycle; in set_pwm() local 62 duty_cycle = priv->period_ns * (priv->cur_level - priv->min_level) / in set_pwm() 65 duty_cycle); in set_pwm()
|
/external/igt-gpu-tools/tools/ |
D | intel_opregion_decode.c | 268 int duty_cycle = asle->bclm[i] & 0xff; in decode_asle() local 272 printf(" (%3d%% -> 0x%02x)\n", percentage, duty_cycle); in decode_asle()
|