Searched refs:real_time_ts (Results 1 – 2 of 2) sorted by relevance
29 struct timespec real_time_ts, boot_time_ts; in serial_test_bpf_obj_id() local115 err = clock_gettime(CLOCK_REALTIME, &real_time_ts); in serial_test_bpf_obj_id()123 load_time = (real_time_ts.tv_sec - boot_time_ts.tv_sec) in serial_test_bpf_obj_id()
161 struct timespec real_time_ts, boot_time_ts; in print_boot_time() local167 if (clock_gettime(CLOCK_REALTIME, &real_time_ts) || in print_boot_time()174 wallclock_secs = (real_time_ts.tv_sec - boot_time_ts.tv_sec) + in print_boot_time()175 (real_time_ts.tv_nsec - boot_time_ts.tv_nsec + nsecs) / in print_boot_time()