/Linux-v6.1/tools/testing/selftests/timens/ |
D | gettime_perf.c | 74 test(CLOCK_MONOTONIC, "monotonic", false); in main() 75 test(CLOCK_MONOTONIC_COARSE, "monotonic-coarse", false); in main() 76 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", false); in main() 96 test(CLOCK_MONOTONIC, "monotonic", true); in main() 97 test(CLOCK_MONOTONIC_COARSE, "monotonic-coarse", true); in main() 98 test(CLOCK_MONOTONIC_RAW, "monotonic-raw", true); in main()
|
/Linux-v6.1/include/linux/ |
D | timekeeper_internal.h | 52 * @offs_real: Offset clock monotonic -> clock realtime 53 * @offs_boot: Offset clock monotonic -> clock boottime 54 * @offs_tai: Offset clock monotonic -> clock tai 77 * to get to monotonic time. Monotonic is pegged at zero at system 83 * monotonic time not to jump. We need to add total_sleep_time to
|
D | timekeeping.h | 88 * ktime_get_boottime - Returns monotonic time since boot in ktime_t format 145 * ktime_mono_to_real - Convert monotonic time to clock realtime 228 * @mono: Monotonic timestamp 243 * @raw: Monotonic raw system time 261 * @sys_monoraw: Monotonic raw simultaneous with device time 293 * Simultaneously snapshot realtime and monotonic raw clocks
|
D | time_namespace.h | 15 struct timespec64 monotonic; member 69 *ts = timespec64_add(*ts, ns_offsets->monotonic); in timens_add_monotonic()
|
D | trace_clock.h | 11 * - global: globally monotonic, serialized clock
|
/Linux-v6.1/kernel/time/ |
D | namespace.c | 30 offset = timespec64_to_ktime(ns_offsets->monotonic); in do_timens_ktime_to_host() 183 struct timens_offset monotonic = offset_from_ts(ns->offsets.monotonic); in timens_setup_vdso_data() local 188 offset[CLOCK_MONOTONIC] = monotonic; in timens_setup_vdso_data() 189 offset[CLOCK_MONOTONIC_RAW] = monotonic; in timens_setup_vdso_data() 190 offset[CLOCK_MONOTONIC_COARSE] = monotonic; in timens_setup_vdso_data() 338 clock = "monotonic"; in show_offset() 357 show_offset(m, CLOCK_MONOTONIC, &time_ns->offsets.monotonic); in proc_timens_show_offsets() 424 offset = &time_ns->offsets.monotonic; in proc_timens_set_offset()
|
D | timekeeping.c | 402 * update_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper. 459 * ktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic 461 * This timestamp is not guaranteed to be monotonic across an update. 497 * ktime_get_raw_fast_ns - Fast NMI safe access to clock monotonic raw 512 * separate timekeeper with updates to monotonic clock and boot offset 591 * Stores clock monotonic, boottime and realtime timestamps. 631 * against the clock monotonic timestamp jumping backwards on resume. 719 /* Convert to monotonic time */ in tk_update_leap_state() 732 * The xtime based monotonic readout is: in tk_update_ktime_data() 734 * The ktime based monotonic readout is: in tk_update_ktime_data() [all …]
|
D | tick-sched.h | 49 * @timer_expires_base: Base time clock monotonic for @timer_expires
|
/Linux-v6.1/tools/testing/selftests/futex/functional/ |
D | futex_wait_timeout.c | 152 test_timeout(res, &ret, "futex_wait_bitset monotonic", ETIMEDOUT); in main() 164 test_timeout(res, &ret, "futex_wait_requeue_pi monotonic", ETIMEDOUT); in main() 171 * If you call FUTEX_LOCK_PI with a monotonic clock, it'll be in main() 173 * time or your time machine) the monotonic clock value is always in main() 189 test_timeout(res, &ret, "futex_waitv monotonic", ETIMEDOUT); in main()
|
/Linux-v6.1/Documentation/gpu/ |
D | drm-usage-stats.rst | 81 Values are not required to be constantly monotonic if it makes the driver 85 value until a monotonic update is seen. 114 Values are not required to be constantly monotonic if it makes the driver 118 value until a monotonic update is seen.
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-driver-ccp | 50 whether Replay Protected Monotonic Counter support has been enabled. 61 whether an Replay Protected Monotonic Counter supported SPI is installed
|
D | sysfs-class-wakeup | 68 This file contains the monotonic clock time when the wakeup
|
/Linux-v6.1/Documentation/timers/ |
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-v6.1/arch/mips/bcm63xx/ |
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-v6.1/kernel/trace/ |
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-v6.1/drivers/rtc/ |
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-v6.1/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_timer.h | 7 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us);
|
/Linux-v6.1/tools/arch/mips/include/uapi/asm/ |
D | kvm.h | 134 * CP0_Count resume monotonic nanoseconds 135 * The monotonic nanosecond time of the last set of COUNT_CTL.DC (master
|
/Linux-v6.1/kernel/sched/ |
D | clock.c | 19 * is monotonic for constant i. The timestamp returned is in nanoseconds. 44 * - GTOD (clock monotonic) 337 * runqueues. (this creates monotonic movement) in sched_clock_remote()
|
/Linux-v6.1/drivers/clk/rockchip/ |
D | clk-mmc-phase.c | 106 * actually go non-monotonic. We don't go _too_ monotonic in rockchip_mmc_set_phase()
|
/Linux-v6.1/arch/mips/include/uapi/asm/ |
D | kvm.h | 152 * CP0_Count resume monotonic nanoseconds 153 * The monotonic nanosecond time of the last set of COUNT_CTL.DC (master
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | so_txtime.c | 328 cfg_clockid == CLOCK_TAI ? "tai" : "monotonic"); in do_test_tx() 424 " -c <clock> monotonic or tai (default)\n" in usage() 462 else if (!strcmp(optarg, "monotonic") || in parse_opts()
|
/Linux-v6.1/include/linux/sched/ |
D | clock.h | 69 * time source that is monotonic per cpu argument and has bounded drift
|
/Linux-v6.1/kernel/futex/ |
D | syscalls.c | 227 * @flags: Flag for timeout (monotonic/realtime) 229 * @clockid: Clock to be used for the timeout, realtime or monotonic.
|
/Linux-v6.1/tools/perf/util/ |
D | clockid.c | 38 CLOCKID_MAP("monotonic", CLOCK_MONOTONIC),
|