Home
last modified time | relevance | path

Searched refs:usec_now (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/network/
Dnetworkd-speed-meter.c47 usec_t usec_now; in speed_meter_handler() local
54 r = sd_event_now(sd_event_source_get_event(s), CLOCK_MONOTONIC, &usec_now); in speed_meter_handler()
58 r = sd_event_source_set_time(s, usec_now + manager->speed_meter_interval_usec); in speed_meter_handler()
63 manager->speed_meter_usec_new = usec_now; in speed_meter_handler()
/systemd-251/src/libsystemd/sd-event/
Devent-util.c100 usec_t usec_now; in event_reset_time_relative() local
105 r = sd_event_now(e, clock, &usec_now); in event_reset_time_relative()
109 …return event_reset_time(e, s, clock, usec_add(usec_now, usec), accuracy, callback, userdata, prior… in event_reset_time_relative()
/systemd-251/src/oom/
Doomd-manager.c350 usec_t usec_now; in monitor_swap_contexts_handler() local
357 r = sd_event_now(sd_event_source_get_event(s), CLOCK_MONOTONIC, &usec_now); in monitor_swap_contexts_handler()
440 usec_t usec_now; in monitor_memory_pressure_contexts_handler() local
447 r = sd_event_now(sd_event_source_get_event(s), CLOCK_MONOTONIC, &usec_now); in monitor_memory_pressure_contexts_handler()
476 if (m->mem_pressure_post_action_delay_start + POST_ACTION_DELAY_USEC > usec_now) in monitor_memory_pressure_contexts_handler()
526 m->mem_pressure_post_action_delay_start = usec_now; in monitor_memory_pressure_contexts_handler()