Home
last modified time | relevance | path

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

/linux-6.15/kernel/time/
H A Dtimekeeping.c1645 read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, in read_persistent_wall_and_boot_offset() argument
1648 read_persistent_clock64(wall_time); in read_persistent_wall_and_boot_offset()
1681 struct timespec64 wall_time, boot_offset, wall_to_mono; in timekeeping_init() local
1687 read_persistent_wall_and_boot_offset(&wall_time, &boot_offset); in timekeeping_init()
1688 if (timespec64_valid_settod(&wall_time) && in timekeeping_init()
1689 timespec64_to_ns(&wall_time) > 0) { in timekeeping_init()
1691 } else if (timespec64_to_ns(&wall_time) != 0) { in timekeeping_init()
1693 wall_time = (struct timespec64){0}; in timekeeping_init()
1696 if (timespec64_compare(&wall_time, &boot_offset) < 0) in timekeeping_init()
1703 wall_to_mono = timespec64_sub(boot_offset, wall_time); in timekeeping_init()
[all …]
/linux-6.15/arch/s390/kernel/
H A Dtime.c211 void __init read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, in read_persistent_wall_and_boot_offset() argument
223 read_persistent_clock64(wall_time); in read_persistent_wall_and_boot_offset()
224 *boot_offset = timespec64_sub(*wall_time, boot_time); in read_persistent_wall_and_boot_offset()
/linux-6.15/tools/perf/util/
H A Dstat-shadow.c363 double wall_time = avg_stats(&walltime_nsecs_stats); in print_nsecs() local
365 if (wall_time) { in print_nsecs()
367 nsecs / (wall_time * evsel->scale)); in print_nsecs()