| /linux/include/linux/ |
| H A D | timekeeping.h | 97 * ktime_get_boottime - Get monotonic time since boot in ktime_t format 102 * Returns: monotonic time since boot in ktime_t format 158 * ktime_mono_to_real - Convert monotonic time to clock realtime 159 * @mono: monotonic time to convert 189 * ktime_get_boottime_ns - Get the monotonic time since boot in nanoseconds 209 * ktime_get_raw_ns - Get the raw monotonic time in nanoseconds 211 * Returns: current raw monotonic time converted to nanoseconds 285 * @monoraw: Monotonic raw system time 328 * @sys_monoraw: Monotonic raw simultaneous with device time
|
| H A D | trace_clock.h | 11 * - global: globally monotonic, serialized clock
|
| /linux/tools/testing/selftests/timens/ |
| H A D | gettime_perf.c | 76 test(CLOCK_MONOTONIC, "monotonic", false); in main() 77 test(CLOCK_MONOTONIC_COARSE, "monotonic-coarse", false); in main() 78 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", false); in main() 98 test(CLOCK_MONOTONIC, "monotonic", true); in main() 99 test(CLOCK_MONOTONIC_COARSE, "monotonic-coarse", true); in main() 100 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", true); in main()
|
| /linux/tools/testing/selftests/futex/functional/ |
| H A D | futex_wait_timeout.c | 105 test_timeout(res, "futex_wait_bitset monotonic", ETIMEDOUT); in TEST() 124 test_timeout(res, "futex_wait_requeue_pi monotonic", ETIMEDOUT); in TEST() 147 * If you call FUTEX_LOCK_PI with a monotonic clock, it'll be in TEST() 149 * time or your time machine) the monotonic clock value is always in TEST() 178 test_timeout(res, "futex_waitv monotonic", ETIMEDOUT); in TEST()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-uptime-001.c | 44 /* Is /proc/uptime monotonic ? */ in main() 47 /* Is CLOCK_BOOTTIME monotonic ? */ in main() 50 /* Is CLOCK_BOOTTIME VS /proc/uptime monotonic ? */ in main()
|
| H A D | proc-uptime-002.c | 78 /* Is /proc/uptime monotonic ? */ in main() 81 /* Is CLOCK_BOOTTIME monotonic ? */ in main() 84 /* Is CLOCK_BOOTTIME VS /proc/uptime monotonic ? */ in main()
|
| /linux/tools/testing/selftests/ptp/ |
| H A D | testptp.c | 151 " -y val pre/post tstamp timebase to use {realtime|monotonic|monotonic-raw}\n" in usage() 298 else if (!strcasecmp(optarg, "monotonic")) in main() 300 else if (!strcasecmp(optarg, "monotonic-raw")) in main() 304 "type needs to be realtime, monotonic or monotonic-raw; was given %s\n", in main() 618 printf("sample #%2d: monotonic time before: %lld.%09u\n", in main() 623 printf("sample #%2d: monotonic-raw time before: %lld.%09u\n", in main() 639 printf(" monotonic time after: %lld.%09u\n", in main() 644 printf(" monotonic-raw time after: %lld.%09u\n", in main()
|
| /linux/kernel/time/ |
| H A D | timekeeping.c | 180 * a file timestamp on the system. This is tracked as a monotonic ktime_t, and 459 * update_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper. 510 * ktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic 512 * This timestamp is not guaranteed to be monotonic across an update. 548 * ktime_get_raw_fast_ns - Fast NMI safe access to clock monotonic raw in ktime_get_raw_fast_ns() 563 * separate timekeeper with updates to monotonic clock and boot offset 701 /* Convert to monotonic time */ 726 * The xtime based monotonic readout is: in tk_update_ktime_data() 728 * The ktime based monotonic readout is: in tk_update_ktime_data() 746 /* Update the monotonic ra in tk_update_ns_to_cyc() [all...] |
| /linux/Documentation/timers/ |
| H A D | timekeeping.rst | 30 Typically the clock source is a monotonic, atomic counter which will provide 82 remains monotonic. 127 characteristics as the clock source, i.e. it should be monotonic.
|
| /linux/tools/usb/ |
| H A D | p9_fwd.py | 50 self.stats_logged = time.monotonic() 158 if (time.monotonic() - self.stats_logged) < interval: 162 self.stats_logged = time.monotonic()
|
| /linux/drivers/rtc/ |
| H A D | rtc-imxdi.c | 47 #define DCR_MCHL (1 << 20) /* Monotonic-counter hard lock */ 48 #define DCR_MCSL (1 << 19) /* Monotonic-counter soft lock */ 53 #define DCR_MCE (1 << 2) /* Monotonic Counter Enable */ 69 #define DSR_MCO (1 << 3) /* monotonic counter overflow */ 81 #define DMCR 0x1c /* DryIce Monotonic Counter Reg */ 84 #define DTCR_MOE (1 << 9) /* monotonic overflow enabled */ 149 * - monotonic counter overflow
|
| /linux/arch/mips/bcm63xx/ |
| H A D | timer.c | 151 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us) in bcm63xx_timer_set() argument 166 if (monotonic) in bcm63xx_timer_set()
|
| /linux/kernel/trace/ |
| H A D | trace_clock.c | 12 * - global: globally monotonic, serialized clock 109 * that the same CPU will always show a monotonic clock. in trace_clock_global()
|
| /linux/tools/testing/selftests/drivers/net/lib/py/ |
| H A D | load.py | 133 end = time.monotonic() + timeout 137 while time.monotonic() < end:
|
| /linux/rust/kernel/io/ |
| H A D | poll.rs | 18 Monotonic, // 81 let start: Instant<Monotonic> = Instant::now(); in read_poll_timeout()
|
| /linux/arch/mips/include/asm/mach-bcm63xx/ |
| H A D | bcm63xx_timer.h | 7 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us);
|
| /linux/tools/arch/mips/include/uapi/asm/ |
| H A D | kvm.h | 134 * CP0_Count resume monotonic nanoseconds 135 * The monotonic nanosecond time of the last set of COUNT_CTL.DC (master
|
| /linux/arch/mips/include/uapi/asm/ |
| H A D | kvm.h | 150 * CP0_Count resume monotonic nanoseconds 151 * The monotonic nanosecond time of the last set of COUNT_CTL.DC (master
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | ksft.py | 186 end = time.monotonic() + deadline 190 if time.monotonic() > end:
|
| H A D | utils.py | 343 end = time.monotonic() + deadline 355 if time.monotonic() > end: 366 end = time.monotonic() + deadline 373 if time.monotonic() > end:
|
| /linux/drivers/clk/rockchip/ |
| H A D | clk-mmc-phase.c | 113 * actually go non-monotonic. We don't go _too_ monotonic in rockchip_mmc_set_phase()
|
| /linux/Documentation/devicetree/bindings/timer/ |
| H A D | andestech,plmt0.yaml | 12 fixed-frequency monotonic time counter (MTIME) register and a time compare
|
| /linux/tools/testing/selftests/net/ |
| H A D | so_txtime.c | |
| /linux/kernel/futex/ |
| H A D | syscalls.c | 302 * @flags: Flag for timeout (monotonic/realtime) 304 * @clockid: Clock to be used for the timeout, realtime or monotonic. 395 * @clockid: Clock to be used for the timeout, realtime or monotonic
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-wakeup | 68 This file contains the monotonic clock time when the wakeup
|