Home
last modified time | relevance | path

Searched refs:wall_time (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/vfio/
H A Dvfio_pci_device_init_perf_test.c120 struct timespec wall_time; in TEST_F() local
145 wall_time = timespec_sub(end, start); in TEST_F()
148 wall_time.tv_sec, wall_time.tv_nsec); in TEST_F()
/linux/kernel/time/
H A Dtimekeeping.c1765 read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, in read_persistent_wall_and_boot_offset() argument
1768 read_persistent_clock64(wall_time); in read_persistent_wall_and_boot_offset()
1803 struct timespec64 wall_time, boot_offset, wall_to_mono; in timekeeping_init() local
1810 read_persistent_wall_and_boot_offset(&wall_time, &boot_offset); in timekeeping_init()
1811 if (timespec64_valid_settod(&wall_time) && in timekeeping_init()
1812 timespec64_to_ns(&wall_time) > 0) { in timekeeping_init()
1814 } else if (timespec64_to_ns(&wall_time) != 0) { in timekeeping_init()
1816 wall_time = (struct timespec64){0}; in timekeeping_init()
1819 if (timespec64_compare(&wall_time, &boot_offset) < 0) in timekeeping_init()
1826 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()
[all …]