/openbmc/linux/tools/testing/selftests/timens/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A 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
|
H A 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
|
H A D | time_namespace.h | 15 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 D | python3-monotonic_1.6.bb | 1 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 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() 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 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 …]
|
/openbmc/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()
|
/openbmc/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_wait_timeout.c | 156 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 D | occ_manager.hpp | 82 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 D | drm-usage-stats.rst | 88 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 D | clock.hpp | 19 Monotonic = CLOCK_MONOTONIC, enumerator 39 static constexpr bool is_steady = Id == ClockId::Monotonic;
|
/openbmc/openbmc/poky/bitbake/contrib/ |
H A D | bbparse-torture.py | 55 start_time = time.monotonic() 57 max_wait_time = time.monotonic() - start_time
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | clock_logger.hpp | 28 using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>; 88 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | power_off_action.hpp | 232 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 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()
|
/openbmc/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()
|
/openbmc/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.
|
/openbmc/google-misc/subprojects/libcr51sign/include/libcr51sign/ |
H A D | cr51_image_descriptor.h | 360 /* 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 D | timer.h | 11 /* returns the current monotonic timer value in microseconds */
|
/openbmc/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
|
/openbmc/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);
|
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/controllers/ |
H A D | fvp.py | 132 start_time = time.monotonic() # Record the start time 137 end_time = time.monotonic() # Record the end time
|