/openbmc/linux/include/trace/events/ |
H A D | iocost.h | 16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, 19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime), 24 __field(u64, now) 39 __entry->now = now->now; 40 __entry->vnow = now->vnow; 51 TP_printk("[%s:%s] now=%llu:%llu vrate=%llu " 55 __entry->now, __entry->vnow, __entry->vrate, 63 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, 66 TP_ARGS(iocg, path, now, last_period, cur_period, vtime) 70 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now, [all …]
|
H A D | alarmtimer.h | 47 TP_PROTO(struct alarm *alarm, ktime_t now), 49 TP_ARGS(alarm, now), 55 __field(s64, now) 62 __entry->now = now; 65 TP_printk("alarmtimer:%p type:%s expires:%llu now:%llu", 69 __entry->now 75 TP_PROTO(struct alarm *alarm, ktime_t now), 77 TP_ARGS(alarm, now) 82 TP_PROTO(struct alarm *alarm, ktime_t now), 84 TP_ARGS(alarm, now) [all …]
|
H A D | timer.h | 65 __field( unsigned long, now ) 73 __entry->now = jiffies; 79 (long)__entry->expires - __entry->now, 100 __field( unsigned long, now ) 107 __entry->now = jiffies; 112 TP_printk("timer=%p function=%ps now=%lu baseclk=%lu", 113 __entry->timer, __entry->function, __entry->now, 234 * @now: pointer to variable which contains current time of the 241 TP_PROTO(struct hrtimer *hrtimer, ktime_t *now), 243 TP_ARGS(hrtimer, now), [all …]
|
/openbmc/linux/tools/testing/selftests/timens/ |
H A D | vfork_exec.c | 24 struct timespec *now; member 30 struct timespec *now = args->now, tst; in tcheck() local 35 if (labs(tst.tv_sec - now->tv_sec) > 5) { in tcheck() 37 args->tst_name, tst.tv_sec, now->tv_sec); in tcheck() 44 static int check_in_thread(char *tst_name, struct timespec *now) in check_in_thread() argument 48 .now = now, in check_in_thread() 60 static int check(char *tst_name, struct timespec *now) in check() argument 67 if (labs(tst.tv_sec - now->tv_sec) > 5) in check() 69 tst_name, tst.tv_sec, now->tv_sec); in check() 71 if (check_in_thread(tst_name, now)) in check() [all …]
|
H A D | exec.c | 23 struct timespec now, tst; in main() local 28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1) in main() 33 if (labs(tst.tv_sec - now.tv_sec) > 5) in main() 34 return pr_fail("%ld %ld\n", now.tv_sec, tst.tv_sec); in main() 43 clock_gettime(CLOCK_MONOTONIC, &now); in main() 53 if (labs(tst.tv_sec - now.tv_sec) > 5) in main() 55 now.tv_sec, tst.tv_sec); in main() 73 if (labs(tst.tv_sec - now.tv_sec - OFFSET) > 5) in main() 75 now.tv_sec + OFFSET, tst.tv_sec); in main() 79 snprintf(now_str, sizeof(now_str), "%ld", now.tv_sec + OFFSET); in main()
|
/openbmc/linux/net/rxrpc/ |
H A D | call_event.c | 26 unsigned long now = jiffies; in rxrpc_propose_ping() local 27 unsigned long ping_at = now + rxrpc_idle_ack_delay; in rxrpc_propose_ping() 31 rxrpc_reduce_call_timer(call, ping_at, now, in rxrpc_propose_ping() 44 unsigned long now = jiffies, ack_at; in rxrpc_propose_delay_ACK() local 54 ack_at += now; in rxrpc_propose_delay_ACK() 57 rxrpc_reduce_call_timer(call, ack_at, now, in rxrpc_propose_delay_ACK() 119 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local 126 now = ktime_get_real(); in rxrpc_resend() 127 max_age = ktime_sub_us(now, jiffies_to_usecs(call->peer->rto_j)); in rxrpc_resend() 128 oldest = now; in rxrpc_resend() [all …]
|
/openbmc/qemu/hw/rtc/ |
H A D | ds1338.c | 65 struct tm now; in capture_current_time() local 66 qemu_get_timedate(&now, s->offset); in capture_current_time() 67 s->nvram[0] = to_bcd(now.tm_sec); in capture_current_time() 68 s->nvram[1] = to_bcd(now.tm_min); in capture_current_time() 70 int tmp = now.tm_hour; in capture_current_time() 80 s->nvram[2] = to_bcd(now.tm_hour); in capture_current_time() 82 s->nvram[3] = (now.tm_wday + s->wday_offset) % 7 + 1; in capture_current_time() 83 s->nvram[4] = to_bcd(now.tm_mday); in capture_current_time() 84 s->nvram[5] = to_bcd(now.tm_mon + 1); in capture_current_time() 85 s->nvram[6] = to_bcd(now.tm_year - 100); in capture_current_time() [all …]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | migration-1.4.rst | 18 instance where this is not the case, now triggers a warning. You must 55 :term:`SRC_URI`, the build system now uses 58 general, the values previously in :term:`OVERRIDES` are now in 60 value you previously added to :term:`OVERRIDES`, you might now need to 83 creating an append file for the ``netbase`` recipe, you now need to 96 Support for remote debugging with the Eclipse IDE is now separated into 110 - :term:`SANITY_TESTED_DISTROS`: This variable now uses a distribution 138 selected, Smart is now installed for package download, dependency 152 - ``clutter-box2d``: Now resides in the ``meta-oe`` layer. 154 - ``evolution-data-server``: Now resides in the ``meta-gnome`` layer. [all …]
|
H A D | migration-3.1.rst | 23 - ``rpcgen`` is now required on the host (part of the ``libc-dev-bin`` 48 Python 2 has now been removed; it is recommended that you use Python 3 55 Reproducible builds now enabled by default 60 (``DISTRO = "poky"``) now inherits the ``reproducible_build`` class by 65 Impact of ptest feature is now more significant 99 - ``linux-yocto``: drop 4.19, 5.2 version recipes (5.4 now provided) 122 now supporting ``ANY_OF_MACHINE_FEATURES``, 125 ``CONFLICT_COMBINED_FEATURES``. As a result the class has now been 163 the SHA256 sum will now be printed. The md5sum will still be verified if 172 fetcher now only fetches the package source itself and no longer the [all …]
|
H A D | migration-4.1.rst | 15 make 4.0 is now the minimum required make version 18 glibc now requires ``make`` 4.0 to build, thus it is now the version required to 43 dev dependencies are now recommends 46 The default for ``${PN}-dev`` package is now to use :term:`RRECOMMENDS` instead 50 and dropbear components will now build successfully. 55 dropbear now recommends openssh-sftp-server 76 Classes now split by usage context 79 A split directory structure has now been set up for ``.bbclass`` files - classes 89 configuration you were using some classes in the incorrect context, you will now 91 now cause an error:: [all …]
|
H A D | migration-2.6.rst | 11 GCC 8.2 is Now Used by Default 14 The GNU Compiler Collection version 8.2 is now used by default for 50 …p*: No longer an external requirement since ``nfs-utils`` 2.2.1. ``libnfsidmap`` is now integrated. 54 - *pax-utils*: No longer needed. Previous QA tests that did use this recipe are now done at build t… 56 - *pixz*: No longer needed. ``xz`` now supports multi-threaded compression. 76 - *yasm*: No longer needed since previous usages are now satisfied by ``nasm``. 91 - *alsa-lib*: ``libasound`` is now in the main ``alsa-lib`` package 94 - *glibc*: ``libnss-db`` is now in its own package along with a 119 ``distutils`` and ``distutils3`` Now Prevent Fetching Dependencies During the ``do_configure`` Task 138 fetching is now explicitly disabled. Consequently, any missing [all …]
|
H A D | migration-2.0.rst | 14 The default compiler is now GCC 5.2. This change has required fixes for 40 the change, recipes for Gstreamer 0.10 and related software are now 52 ``bluez5`` becoming fully integrated. The ``bluez4`` recipe now 88 Overrides are now applied dynamically and ``bb.data.update_data()`` is 89 now a no-op. Thus, ``bb.data.update_data()`` is no longer required in 94 - All potential overrides are now visible in the variable history as 111 now connected through to their BitBake equivalents ``bb.debug()``, 114 would expect to be printed by the BitBake UI are now actually printed. 117 - If you now see messages on the console that you did not previously 122 - The ``bbfatal`` message function now suppresses the full error log in [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | mips_gictimer.c | 21 uint32_t vp_index, uint64_t now) in gic_vptimer_update() argument 27 (uint32_t)(now / TIMER_PERIOD); in gic_vptimer_update() 28 next = now + (uint64_t)wait * TIMER_PERIOD; in gic_vptimer_update() 34 uint64_t now) in gic_vptimer_expire() argument 41 gic_vptimer_update(gictimer, vp_index, now); in gic_vptimer_expire() 58 uint64_t now; in mips_gictimer_get_sh_count() local 59 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mips_gictimer_get_sh_count() 62 && timer_expired(gictimer->vptimers[i].qtimer, now)) { in mips_gictimer_get_sh_count() 64 gic_vptimer_expire(gictimer, i, now); in mips_gictimer_get_sh_count() 67 return gictimer->sh_counterlo + (uint32_t)(now / TIMER_PERIOD); in mips_gictimer_get_sh_count() [all …]
|
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/ |
H A D | timer.c | 96 ulong now = readl(&tmr->timer3_counter) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked() local 98 ulong now = readl(&tmr->timer3_counter) / in get_timer_masked() local 102 debug("%s(): now = %lx, lastdec = %lx\n", __func__, now, lastdec); in get_timer_masked() 104 if (lastdec >= now) { in get_timer_masked() 109 timestamp += lastdec - now; in get_timer_masked() 114 * nts = ts + ld + (TLV - now) in get_timer_masked() 116 * (TLV-now) amount of time after passing though -1 in get_timer_masked() 120 timestamp += lastdec + TIMER_LOAD_VAL - now; in get_timer_masked() 123 lastdec = now; in get_timer_masked() 155 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local [all …]
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | timer.c | 59 unsigned long now, last = readl(&timer_base->tcrr); in __udelay() local 62 now = readl(&timer_base->tcrr); in __udelay() 63 if (last > now) /* count up timer overflow */ in __udelay() 64 tmo -= TIMER_OVERFLOW_VAL - last + now + 1; in __udelay() 66 tmo -= now - last; in __udelay() 67 last = now; in __udelay() 74 ulong now = readl(&timer_base->tcrr) / (TIMER_CLOCK / CONFIG_SYS_HZ); in get_timer_masked() local 76 if (now >= gd->arch.lastinc) { /* normal mode (non roll) */ in get_timer_masked() 78 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked() 81 CONFIG_SYS_HZ)) - gd->arch.lastinc) + now; in get_timer_masked() [all …]
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | constant_timer.c | 25 uint64_t now, expire; in cpu_loongarch_get_constant_timer_ticks() local 27 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in cpu_loongarch_get_constant_timer_ticks() 30 return (expire - now) / TIMER_PERIOD; in cpu_loongarch_get_constant_timer_ticks() 37 uint64_t now, next; in cpu_loongarch_store_constant_timer_config() local 41 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in cpu_loongarch_store_constant_timer_config() 42 next = now + (value & CONSTANT_TIMER_TICK_MASK) * TIMER_PERIOD; in cpu_loongarch_store_constant_timer_config() 53 uint64_t now, next; in loongarch_constant_timer_cb() local 56 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in loongarch_constant_timer_cb() 57 next = now + (env->CSR_TCFG & CONSTANT_TIMER_TICK_MASK) * TIMER_PERIOD; in loongarch_constant_timer_cb()
|
/openbmc/dbus-sensors/src/external/ |
H A D | ExternalSensor.cpp | 33 objServer(objectServer), writeLast(std::chrono::steady_clock::now()), in ExternalSensor() 81 std::function<void(std::chrono::steady_clock::time_point now)>&& in initWriteHook() 132 const std::chrono::steady_clock::time_point& now) const in isAliveAndFresh() 140 // If age, as of now, is less than timeout, it is deemed fresh in isAliveAndFresh() 142 return (ageElapsed(now) < writeTimeout); in isAliveAndFresh() 146 ExternalSensor::writeBegin(const std::chrono::steady_clock::time_point& now) in writeBegin() argument 154 writeLast = now; in writeBegin() 176 const std::chrono::steady_clock::time_point& now) const in ageElapsed() 179 return (now - writeLast); in ageElapsed() 183 const std::chrono::steady_clock::time_point& now) const in ageRemaining() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/ |
H A D | timer.c | 61 ulong now = TICKS_TO_HZ(read_timer()); in get_timer_masked() local 63 if (now >= gd->arch.lastinc) /* normal (non rollover) */ in get_timer_masked() 64 gd->arch.tbl += (now - gd->arch.lastinc); in get_timer_masked() 68 - gd->arch.lastinc) + now; in get_timer_masked() 70 gd->arch.lastinc = now; in get_timer_masked() 84 ulong now, last = read_timer(); in __udelay() local 87 now = read_timer(); in __udelay() 88 if (now > last) /* normal (non rollover) */ in __udelay() 89 tmo -= now - last; in __udelay() 91 tmo -= TIMER_LOAD_VAL - last + now; in __udelay() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | mps2-fpgaio.c | 42 static uint32_t counter_from_tickoff(int64_t now, int64_t tick_offset, int frq) in counter_from_tickoff() argument 44 return muldiv64(now - tick_offset, frq, NANOSECONDS_PER_SECOND); in counter_from_tickoff() 47 static int64_t tickoff_from_counter(int64_t now, uint32_t count, int frq) in tickoff_from_counter() argument 49 return now - muldiv64(count, NANOSECONDS_PER_SECOND, frq); in tickoff_from_counter() 59 int64_t now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in resync_counter() local 60 int64_t elapsed = now - s->pscntr_sync_ticks; in resync_counter() 116 * not all the way to 'now', so we don't lose time if we do multiple in resync_counter() 127 int64_t now; in mps2_fpgaio_read() local 152 now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in mps2_fpgaio_read() 153 r = counter_from_tickoff(now, s->clk1hz_tick_offset, 1); in mps2_fpgaio_read() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/dosfstools/dosfstools/ |
H A D | source-date-epoch.patch | 38 time_t now; 48 - now = time(NULL); 49 - mtime = (now != (time_t)-1) ? localtime(&now) : NULL; 56 + now = conversion; 58 + || errno != 0 || (long long)now != conversion) { 62 + mtime = gmtime(&now); 64 + now = time(NULL); 65 + mtime = (now != (time_t)-1) ? localtime(&now) : NULL; 86 struct timeval now; 88 - if (gettimeofday(&now, NULL) != 0 || now.tv_sec == (time_t)-1 || now.tv_sec < 0) { [all …]
|
/openbmc/linux/block/ |
H A D | blk-iocost.c | 561 u64 now; member 963 static void ioc_refresh_vrate(struct ioc *ioc, struct ioc_now *now) in ioc_refresh_vrate() argument 965 s64 pleft = ioc->period_at + ioc->period_us - now->now; in ioc_refresh_vrate() 1042 static void ioc_now(struct ioc *ioc, struct ioc_now *now) in ioc_now() argument 1047 now->now_ns = ktime_get(); in ioc_now() 1048 now->now = ktime_to_us(now->now_ns); in ioc_now() 1061 now->vnow = ioc->period_at_vtime + in ioc_now() 1062 (now->now - ioc->period_at) * vrate; in ioc_now() 1066 static void ioc_start_period(struct ioc *ioc, struct ioc_now *now) in ioc_start_period() argument 1071 ioc->period_at = now->now; in ioc_start_period() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | CHANGELOG | 3 * The Beautiful Soup documentation now has a Spanish translation, thanks 42 with pyproject.toml. Beautiful Soup now uses tox as its test backend 62 * When a BeautifulSoup object is unpickled, Beautiful Soup now 65 * Tag.prettify() will now consistently end prettified markup with 73 * PageElement now implements the known_xml attribute. (This was technically 108 Soup now consistently propagates this fact by raising a 131 * Tag.interesting_string_types is now propagated when a tag is 134 * Warnings now do their best to provide an appropriate stacklevel, 137 * Passing a Tag's .contents into PageElement.extend() now works the 149 * The changelog is now packaged as CHANGELOG, and the license file is [all …]
|
/openbmc/linux/kernel/time/ |
H A D | timer_list.c | 23 u64 now; member 47 int idx, u64 now) in print_timer() argument 55 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer() 56 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer() 61 u64 now) in print_active_timers() argument 91 print_timer(m, timer, &tmp, i, now); in print_active_timers() 99 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() argument 112 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base() 115 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() argument 123 print_base(m, cpu_base->clock_base + i, now); in print_cpu() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | rtc.c | 36 int mach_set_cmos_time(const struct timespec64 *now) in mach_set_cmos_time() argument 38 unsigned long long nowtime = now->tv_sec; in mach_set_cmos_time() 57 void mach_get_cmos_time(struct timespec64 *now) in mach_get_cmos_time() argument 66 now->tv_sec = now->tv_nsec = 0; in mach_get_cmos_time() 72 now->tv_sec = now->tv_nsec = 0; in mach_get_cmos_time() 76 now->tv_sec = rtc_tm_to_time64(&tm); in mach_get_cmos_time() 77 now->tv_nsec = 0; in mach_get_cmos_time() 103 int update_persistent_clock64(struct timespec64 now) in update_persistent_clock64() argument 105 return x86_platform.set_wallclock(&now); in update_persistent_clock64()
|
/openbmc/linux/tools/power/cpupower/bench/ |
H A D | benchmark.c | 35 long long now, then; in calculate_timespace() local 44 now = get_time(); in calculate_timespace() 48 timed = (unsigned int)(then - now); in calculate_timespace() 55 now = get_time(); in calculate_timespace() 59 timed = (unsigned int)(then - now); in calculate_timespace() 81 long long now, then; in start_benchmark() local 126 now = get_time(); in start_benchmark() 130 performance_time += then - now - sleep_time; in start_benchmark() 135 (long)(then - now), sleep_time, in start_benchmark() 152 now = get_time(); in start_benchmark() [all …]
|