Lines Matching refs:curr_tm
758 struct timespec curr_tm; in cmd_target() local
767 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &curr_tm) != 0) { in cmd_target()
772 if (get_time_diff_ms(&last_req_tm, &curr_tm) < in cmd_target()
778 last_req_tm = curr_tm; in cmd_target()
1541 struct timespec curr_tm; in mp_event_common() local
1577 if (clock_gettime(CLOCK_MONOTONIC_COARSE, &curr_tm) != 0) { in mp_event_common()
1586 if ((get_time_diff_ms(&last_kill_tm, &curr_tm) < kill_timeout_ms) && in mp_event_common()
1718 if (get_time_diff_ms(&last_report_tm, &curr_tm) < FAIL_REPORT_RLIMIT_MS) { in mp_event_common()
1724 last_kill_tm = curr_tm; in mp_event_common()
1747 last_report_tm = curr_tm; in mp_event_common()
1945 struct timespec last_report_tm, curr_tm; in mainloop() local
1957 clock_gettime(CLOCK_MONOTONIC_COARSE, &curr_tm); in mainloop()
1958 delay = get_time_diff_ms(&last_report_tm, &curr_tm); in mainloop()
1965 clock_gettime(CLOCK_MONOTONIC_COARSE, &curr_tm); in mainloop()
1966 if (get_time_diff_ms(&last_report_tm, &curr_tm) >= PSI_POLL_PERIOD_MS) { in mainloop()
1969 last_report_tm = curr_tm; in mainloop()