Searched refs:clock_type (Results 1 – 8 of 8) sorted by relevance
| /openbmc/qemu/util/ |
| H A D | timed-average.c | 99 void timed_average_init(TimedAverage *ta, QEMUClockType clock_type, in timed_average_init() argument 102 int64_t now = qemu_clock_get_ns(clock_type); in timed_average_init() 110 ta->clock_type = clock_type; in timed_average_init() 130 int64_t now = qemu_clock_get_ns(ta->clock_type); in check_expirations()
|
| H A D | throttle.c | 208 aio_timer_new(new_context, tt->clock_type, SCALE_NS, in throttle_timers_attach_aio_context() 237 QEMUClockType clock_type, in throttle_timers_init() argument 245 tt->clock_type = clock_type; in throttle_timers_init() 397 QEMUClockType clock_type, in throttle_config() argument 410 ts->previous_leak = qemu_clock_get_ns(clock_type); in throttle_config() 436 int64_t now = qemu_clock_get_ns(tt->clock_type); in throttle_schedule_timer()
|
| /openbmc/qemu/include/qemu/ |
| H A D | throttle.h | 110 QEMUClockType clock_type; /* the clock used */ member 127 QEMUClockType clock_type, 147 QEMUClockType clock_type,
|
| H A D | timed-average.h | 52 QEMUClockType clock_type; /* the clock used */ member 55 void timed_average_init(TimedAverage *ta, QEMUClockType clock_type,
|
| /openbmc/qemu/block/ |
| H A D | throttle-groups.c | 78 QEMUClockType clock_type; member 345 int64_t now = qemu_clock_get_ns(tg->clock_type); in schedule_next_request() 480 throttle_config(ts, tg->clock_type, cfg); in throttle_group_config() 568 tg->clock_type, in throttle_group_register_tgm() 758 tg->clock_type = QEMU_CLOCK_REALTIME; in throttle_group_obj_init() 761 tg->clock_type = QEMU_CLOCK_VIRTUAL; in throttle_group_obj_init() 794 throttle_config(&tg->ts, tg->clock_type, &cfg); in throttle_group_obj_complete() 905 throttle_config(&tg->ts, tg->clock_type, &cfg); in throttle_group_set_limits()
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-aio.c | 49 QEMUClockType clock_type; member 69 qemu_clock_get_ns(data->clock_type) + data->ns); in timer_test_cb() 375 .clock_type = QEMU_CLOCK_REALTIME }; in test_timer_schedule() 385 aio_timer_init(ctx, &data.timer, data.clock_type, in test_timer_schedule() 388 qemu_clock_get_ns(data.clock_type) + in test_timer_schedule() 711 .clock_type = QEMU_CLOCK_REALTIME }; in test_source_timer_schedule() 722 aio_timer_init(ctx, &data.timer, data.clock_type, in test_source_timer_schedule() 724 expiry = qemu_clock_get_ns(data.clock_type) + in test_source_timer_schedule() 742 g_assert(qemu_clock_get_ns(data.clock_type) > expiry); in test_source_timer_schedule()
|
| H A D | test-throttle.c | 171 g_assert(tt->clock_type == QEMU_CLOCK_VIRTUAL); in test_init() 203 g_assert(tt->clock_type == QEMU_CLOCK_VIRTUAL); in test_init_readonly() 235 g_assert(tt->clock_type == QEMU_CLOCK_VIRTUAL); in test_init_writeonly()
|
| /openbmc/phosphor-net-ipmid/ |
| H A D | sessions_manager.cpp | 337 timer.expiry() - boost::asio::steady_timer::clock_type::now(); in scheduleSessionCleaner()
|