Searched refs:boot_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() local118 err = clock_gettime(CLOCK_BOOTTIME, &boot_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() local168 clock_gettime(CLOCK_BOOTTIME, &boot_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()