Home
last modified time | relevance | path

Searched refs:latency_ns (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/block/
H A Daccounting.c131 int64_t latency_ns) in block_latency_histogram_account() argument
141 if (latency_ns < hist->boundaries[0]) { in block_latency_histogram_account()
146 if (latency_ns >= hist->boundaries[hist->nbins - 2]) { in block_latency_histogram_account()
151 pos = bsearch(&latency_ns, hist->boundaries, hist->nbins - 2, in block_latency_histogram_account()
208 int64_t latency_ns = time_ns - cookie->start_time_ns; in block_account_one_io() local
211 latency_ns = qtest_latency_ns; in block_account_one_io()
229 latency_ns); in block_account_one_io()
232 stats->total_time_ns[cookie->type] += latency_ns; in block_account_one_io()
236 timed_average_account(&s->latency[cookie->type], latency_ns); in block_account_one_io()
H A Dnull.c28 int64_t latency_ns; member
91 s->latency_ns = in null_open()
93 if (s->latency_ns < 0) { in null_open()
113 if (s->latency_ns) { in null_co_common()
114 qemu_co_sleep_ns(QEMU_CLOCK_REALTIME, s->latency_ns); in null_co_common()
179 if (s->latency_ns) { in null_aio_common()
184 qemu_clock_get_ns(QEMU_CLOCK_REALTIME) + s->latency_ns); in null_aio_common()
/openbmc/linux/arch/powerpc/include/asm/
H A Dcpuidle.h76 u32 latency_ns; member
/openbmc/linux/kernel/sched/
H A Didle.c337 void play_idle_precise(u64 duration_ns, u64 latency_ns) in play_idle_precise() argument
355 cpuidle_use_deepest_state(latency_ns); in play_idle_precise()
/openbmc/linux/drivers/cpuidle/
H A Dcpuidle-powernv.c301 if (state->latency_ns > POWERNV_THRESHOLD_LATENCY_NS) in powernv_add_idle_states()
307 exit_latency = DIV_ROUND_UP(state->latency_ns, 1000); in powernv_add_idle_states()
/openbmc/linux/drivers/acpi/
H A Dcppc_acpi.c1836 unsigned int latency_ns = 0; in cppc_get_transition_latency() local
1857 latency_ns = 60 * (1000 * 1000 * 1000 / pcc_ss_data->pcc_mpar); in cppc_get_transition_latency()
1859 latency_ns = max(latency_ns, pcc_ss_data->pcc_nominal * 1000); in cppc_get_transition_latency()
1860 latency_ns = max(latency_ns, pcc_ss_data->pcc_mrtt * 1000); in cppc_get_transition_latency()
1862 return latency_ns; in cppc_get_transition_latency()
/openbmc/linux/include/linux/
H A Dcpu.h204 void play_idle_precise(u64 duration_ns, u64 latency_ns);
/openbmc/linux/drivers/opp/
H A Dcore.c304 unsigned long latency_ns = 0; in dev_pm_opp_get_max_volt_latency() local
352 latency_ns += ret * 1000; in dev_pm_opp_get_max_volt_latency()
359 return latency_ns; in dev_pm_opp_get_max_volt_latency()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Didle.c1368 pnv_idle_states[i].latency_ns = temp_u32[i]; in pnv_parse_cpuidle_dt()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Di9xx_wm.c548 unsigned int latency_ns) in intel_calculate_wm() argument
559 latency_ns / 100); in intel_calculate_wm()