Home
last modified time | relevance | path

Searched full:elapsed (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/openbmc/qemu/util/
H A Dtimed-average.c62 /* time elapsed since the last theoretical expiration */ in update_expiration()
63 int64_t elapsed = (now - w->expiration) % period; in update_expiration() local
65 int64_t remaining = period - elapsed; in update_expiration()
125 * @elapsed: if non-NULL, the elapsed time (in ns) within the current
128 static void check_expirations(TimedAverage *ta, uint64_t *elapsed) in check_expirations() argument
151 /* Calculate the elapsed time within the current window */ in check_expirations()
152 if (elapsed) { in check_expirations()
154 *elapsed = ta->period - remaining; in check_expirations()
224 * @elapsed: if non-NULL, the elapsed time (in ns) will be stored here
227 uint64_t timed_average_sum(TimedAverage *ta, uint64_t *elapsed) in timed_average_sum() argument
[all …]
/openbmc/openbmc/poky/bitbake/lib/progressbar/
H A Dwidgets.py83 """Widget which displays the elapsed seconds."""
88 def __init__(self, format='Elapsed Time: %s'):
99 """Updates the widget to show the elapsed time."""
117 elapsed = pbar.seconds_elapsed
118 eta = elapsed * pbar.maxval / pbar.currval - elapsed
126 1) ETA based on the total progress and time elapsed so far
137 def _update_samples(self, currval, elapsed): argument
138 sample = (currval, elapsed)
145 def _eta(self, maxval, currval, elapsed): argument
146 return elapsed * maxval / float(currval) - elapsed
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A Dtestrunner.py61 """ Cache for elapsed time for tests, to show it during new test run
88 def update(self, test: str, elapsed: float) -> None:
90 d.setdefault(self.env.imgproto, {})[self.env.imgfmt] = elapsed
105 elapsed: Optional[float] = None, diff: Sequence[str] = (),
109 self.elapsed = elapsed
145 self.last_elapsed = LastElapsedTime('.last-elapsed-cache', env)
293 elapsed = round(time.time() - t0, 1)
296 return TestResult(status='fail', elapsed=elapsed,
316 return TestResult(status='fail', elapsed=elapsed,
321 return TestResult(status='pass', elapsed=elapsed,
[all …]
/openbmc/phosphor-time-manager/
H A Dbmc_epoch.hpp44 * @brief Get value of Elapsed property
46 * @return The elapsed microseconds since UTC
48 uint64_t elapsed() const override;
51 * @brief Set value of Elapsed property
54 * @return The updated elapsed microseconds since UTC
56 uint64_t elapsed(uint64_t value) override;
H A DREADME.md42 The user can directly get or set the property `Elapsed` of the objects to get or
50 /xyz/openbmc_project/time/bmc xyz.openbmc_project.Time.EpochTime Elapsed
62 Elapsed t <value-in-microseconds>
67 https://${BMC_IP}/xyz/openbmc_project/time/bmc/attr/Elapsed
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/
H A Dmetricblob.proto28 float firmware_boot_time_sec = 3; // Time (seconds) elapsed in firmware process
29 float loader_boot_time_sec = 4; // Time (seconds) elapsed in loader process
30 float kernel_boot_time_sec = 5; // Time (seconds) elapsed in kernel process
31 float initrd_boot_time_sec = 6; // Time (seconds) elapsed in initrd process
32 float userspace_boot_time_sec = 7; // Time (seconds) elapsed in userspace process
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gpu_trace.h57 TP_PROTO(struct msm_gem_submit *submit, u64 elapsed, u64 clock,
59 TP_ARGS(submit, elapsed, clock, start, end),
65 __field(u64, elapsed)
75 __entry->elapsed = elapsed;
80 TP_printk("id=%d pid=%d ring=%d:%d elapsed=%lld ns mhz=%lld start=%lld end=%lld",
82 __entry->elapsed, __entry->clock,
/openbmc/linux/tools/testing/selftests/timens/
H A Dtimer.c21 long long elapsed; in run_test() local
58 elapsed = new_value.it_value.tv_sec; in run_test()
59 if (llabs(elapsed - 3600) > 60) { in run_test()
60 ksft_test_result_fail("clockid: %d elapsed: %lld\n", in run_test()
61 clockid, elapsed); in run_test()
H A Dtimerfd.c28 long long elapsed; in run_test() local
63 elapsed = new_value.it_value.tv_sec; in run_test()
64 if (llabs(elapsed - 3600) > 60) { in run_test()
65 ksft_test_result_fail("clockid: %d elapsed: %lld\n", in run_test()
66 clockid, elapsed); in run_test()
/openbmc/linux/arch/s390/kernel/
H A Dvtime.c56 static inline int virt_timer_forward(u64 elapsed) in virt_timer_forward() argument
62 elapsed = atomic64_add_return(elapsed, &virt_timer_elapsed); in virt_timer_forward()
63 return elapsed >= atomic64_read(&virt_timer_current); in virt_timer_forward()
289 unsigned long elapsed; in virt_timer_expire() local
294 elapsed = atomic64_read(&virt_timer_elapsed); in virt_timer_expire()
296 if (timer->expires < elapsed) in virt_timer_expire()
300 timer->expires -= elapsed; in virt_timer_expire()
307 atomic64_sub(elapsed, &virt_timer_elapsed); in virt_timer_expire()
/openbmc/linux/include/uapi/linux/
H A Dacct.h56 comp_t ac_etime; /* Elapsed Time */
69 __u8 ac_etime_hi; /* Elapsed Time MSB */
70 __u16 ac_etime_lo; /* Elapsed Time LSB */
88 __u32 ac_etime; /* Elapsed Time */
90 float ac_etime; /* Elapsed Time */
/openbmc/u-boot/test/py/tests/
H A Dtest_sleep.py31 elapsed = tend - tstart
32 assert elapsed >= (sleep_time - 0.01)
35 assert elapsed < (sleep_time + 0.25)
/openbmc/linux/net/ipv4/
H A Dtcp_timer.c29 u32 elapsed, start_ts, user_timeout; in tcp_clamp_rto_to_user_timeout() local
36 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
37 remaining = user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
48 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local
54 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
55 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
56 elapsed = 0; in tcp_clamp_probe0_to_user_timeout()
57 remaining = msecs_to_jiffies(user_timeout) - elapsed; in tcp_clamp_probe0_to_user_timeout()
745 u32 elapsed; in tcp_keepalive_timer() local
778 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-systemready/lib/oeqa/runtime/cases/
H A Darm_systemready_fedora_unattended.py13 # Timeout value = elapsed time * 2; where elapsed time was collected
14 # from the elapsed time in the log.do_testimage for each function after
H A Darm_systemready_opensuse_unattended.py12 # Timeout value = elapsed time * 2; where elapsed time was collected
13 # from the elapsed time in the log.do_testimage for each function after
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dserver.py75 self.elapsed = 0
86 def add(self, elapsed): argument
88 self.elapsed += elapsed
92 self.stats.add(self.elapsed)
94 self.elapsed = 0
109 def add(self, elapsed): argument
112 self.m = elapsed
116 self.m = last_m + (elapsed - last_m) / self.num
117 self.s = self.s + (elapsed - last_m) * (elapsed - self.m)
119 self.total_time += elapsed
[all …]
/openbmc/linux/drivers/misc/
H A Dds1682.c3 * Dallas Semiconductor DS1682 Elapsed Time Recorder device driver
11 * The DS1682 elapsed timer recorder is a simple device that implements
12 * one elapsed time counter, one event counter, an alarm signal and 10
17 * elapsed_time (u32): Total elapsed event time in ms resolution
18 * alarm_time (u32): When elapsed time exceeds the value in alarm_time,
261 MODULE_DESCRIPTION("DS1682 Elapsed Time Indicator driver");
/openbmc/linux/drivers/isdn/mISDN/
H A Dclock.c17 * A clock source calls mISDN_clock_update with given samples elapsed, if
159 /* calc elapsed time by system clock */ in mISDN_clock_update()
167 /* add elapsed time to counter and set new timestamp */ in mISDN_clock_update()
188 /* calc elapsed time by system clock */ in mISDN_clock_get()
192 /* add elapsed time to counter */ in mISDN_clock_get()
/openbmc/linux/tools/perf/scripts/python/
H A Dfutex-contention.py25 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
43 elapsed = nsecs(s, ns) - thread_blocktime[tid]
44 add_stats(lock_waits, (tid, thread_thislock[tid]), elapsed)
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_request.c2019 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
2042 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
2050 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2064 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
2075 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
2078 cycles = trifilter(elapsed); in measure_semaphore_response()
2094 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
2110 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
2136 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
2146 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
[all …]
/openbmc/pldm/platform-mc/test/
H A Dsensor_manager_test.cpp30 uint64_t elapsed = 0; in runEventLoopForSeconds() local
34 if (!sd_event_run(event.get(), usec - elapsed)) in runEventLoopForSeconds()
39 elapsed = t1 - t0; in runEventLoopForSeconds()
40 } while (elapsed < usec); in runEventLoopForSeconds()
/openbmc/telemetry/tests/src/
H A Ddbus_environment.hpp49 auto elapsed = Milliseconds(0); in waitForFutures() local
54 while (future.valid() && elapsed < timeout) in waitForFutures()
64 elapsed += precission; in waitForFutures()
69 if (elapsed >= timeout) in waitForFutures()
H A Dtest_detached_timer.cpp28 auto elapsed = DbusEnvironment::measureTime( in TEST_F() local
31 EXPECT_THAT(elapsed, AllOf(Ge(100ms), Lt(200ms))); in TEST_F()
/openbmc/linux/include/linux/
H A Dwait.h411 * 0 if the @condition evaluated to %false after the @timeout elapsed,
412 * 1 if the @condition evaluated to %true after the @timeout elapsed,
414 * to %true before the @timeout elapsed.
528 * 0 if the @condition evaluated to %false after the @timeout elapsed,
529 * 1 if the @condition evaluated to %true after the @timeout elapsed,
531 * to %true before the @timeout elapsed, or -%ERESTARTSYS if it was
583 * elapsed.
609 * interrupted by a signal, or -ETIME if the timeout elapsed.
724 * 0 if the @condition evaluated to %false after the @timeout elapsed,
725 * 1 if the @condition evaluated to %true after the @timeout elapsed,
[all...]
/openbmc/qemu/include/sysemu/
H A Dcpu-timers.h86 * return the time elapsed in VM between vm_start and vm_stop.
92 * Returns the monotonic time elapsed in VM, i.e.,
99 /* get/set VIRTUAL clock and VM elapsed ticks via the cpus accel interface */

12345678910>>...20