Home
last modified time | relevance | path

Searched full:monotonic (Results 1 – 25 of 219) sorted by relevance

123456789

/openbmc/linux/tools/testing/selftests/timens/
H A Dgettime_perf.c74 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()
/openbmc/linux/include/linux/
H A Dtimekeeper_internal.h52 * @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
H A Dtimekeeping.h88 * 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
H A Dtime_namespace.h15 struct timespec64 monotonic; member
69 *ts = timespec64_add(*ts, ns_offsets->monotonic); in timens_add_monotonic()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-monotonic_1.6.bb1 SUMMARY = "This module provides a monotonic() function which returns the value (in fractional secon…
2 HOMEPAGE = "https://github.com/atdt/monotonic"
9 SRC_URI = "git://github.com/atdt/monotonic.git;branch=master;protocol=https"
/openbmc/linux/kernel/time/
H A Dnamespace.c30 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()
356 clock = "monotonic"; in show_offset()
375 show_offset(m, CLOCK_MONOTONIC, &time_ns->offsets.monotonic); in proc_timens_show_offsets()
442 offset = &time_ns->offsets.monotonic; in proc_timens_set_offset()
H A Dtimekeeping.c402 * 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 …]
/openbmc/linux/tools/testing/selftests/proc/
H A Dproc-uptime-001.c44 /* 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 Dproc-uptime-002.c78 /* Is /proc/uptime monotonic ? */ in main()
81 /* Is CLOCK_BOOTTIME monotonic ? */ in main()
84 /* Is CLOCK_BOOTTIME VS /proc/uptime monotonic ? */ in main()
/openbmc/linux/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c156 test_timeout(res, &ret, "futex_wait_bitset monotonic", ETIMEDOUT); in main()
168 test_timeout(res, &ret, "futex_wait_requeue_pi monotonic", ETIMEDOUT); in main()
178 * If you call FUTEX_LOCK_PI with a monotonic clock, it'll be in main()
180 * time or your time machine) the monotonic clock value is always in main()
196 test_timeout(res, &ret, "futex_waitv monotonic", ETIMEDOUT); in main()
/openbmc/openpower-occ-control/
H A Docc_manager.hpp82 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
106 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
110 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
116 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
258 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
344 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
357 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
367 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
/openbmc/linux/Documentation/gpu/
H A Ddrm-usage-stats.rst88 Values are not required to be constantly monotonic if it makes the driver
92 value until a monotonic update is seen.
109 Values are not required to be constantly monotonic if it makes the driver
113 value until a monotonic update is seen.
/openbmc/sdeventplus/src/sdeventplus/
H A Dclock.hpp19 Monotonic = CLOCK_MONOTONIC, enumerator
39 static constexpr bool is_steady = Id == ClockId::Monotonic;
/openbmc/openbmc/poky/bitbake/contrib/
H A Dbbparse-torture.py55 start_time = time.monotonic()
57 max_wait_time = time.monotonic() - start_time
/openbmc/openpower-proc-control/extensions/phal/
H A Dclock_logger.hpp28 using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>;
88 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-ccp50 whether Replay Protected Monotonic Counter support has been enabled.
61 whether an Replay Protected Monotonic Counter supported SPI is installed
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_action.hpp232 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer;
324 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer;
471 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>
477 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _meltdownTimer;
/openbmc/linux/kernel/trace/
H A Dtrace_clock.c12 * - global: globally monotonic, serialized clock
109 * that the same CPU will always show a monotonic clock. in trace_clock_global()
/openbmc/linux/arch/mips/bcm63xx/
H A Dtimer.c151 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us) in bcm63xx_timer_set() argument
166 if (monotonic) in bcm63xx_timer_set()
/openbmc/linux/Documentation/timers/
H A Dtimekeeping.rst30 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.
/openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/
H A Dcr51_image_descriptor.h360 /* A monotonic counter that should be increased whenever the
374 * forbidden. This value is not monotonic.
442 /* Monotonic index of the key used to sign the image (starts at 1). */
454 /* Monotonic index of the key used to sign the image (starts at 1). */
466 /* Monotonic index of the key used to sign the image (starts at 1). */
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dtimer.h11 /* returns the current monotonic timer value in microseconds */
/openbmc/linux/drivers/rtc/
H A Drtc-imxdi.c47 #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
/openbmc/linux/arch/mips/include/asm/mach-bcm63xx/
H A Dbcm63xx_timer.h7 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us);
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/controllers/
H A Dfvp.py132 start_time = time.monotonic() # Record the start time
137 end_time = time.monotonic() # Record the end time

123456789