| /openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/fans/phosphor-pid-control/ |
| H A D | monitor-pldm-sensor | 6 elapsed=0 # Elapsed time counter 168 while [ $elapsed -lt $timeout ]; do 169 echo "Starting a new check round. Elapsed time: ${elapsed}s" 179 elapsed=$((elapsed + interval)) 188 elapsed=$((elapsed + interval)) 207 elapsed=$((elapsed + interval))
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | utils_test.hpp | 12 uint64_t elapsed = 0; in runEventLoopForSeconds() local 16 if (!sd_event_run(event.get(), usec - elapsed)) in runEventLoopForSeconds() 21 elapsed = t1 - t0; in runEventLoopForSeconds() 22 } while (elapsed < usec); in runEventLoopForSeconds()
|
| /openbmc/qemu/util/ |
| H A D | timed-average.c | 63 int64_t elapsed = (now - w->expiration) % period; in update_expiration() local 65 int64_t remaining = period - elapsed; in update_expiration() 128 static void check_expirations(TimedAverage *ta, uint64_t *elapsed) in check_expirations() argument 152 if (elapsed) { in check_expirations() 154 *elapsed = ta->period - remaining; in check_expirations() 227 uint64_t timed_average_sum(TimedAverage *ta, uint64_t *elapsed) in timed_average_sum() argument 230 check_expirations(ta, elapsed); in timed_average_sum()
|
| /openbmc/openbmc/poky/bitbake/lib/progressbar/ |
| H A D | widgets.py | 117 elapsed = pbar.seconds_elapsed 118 eta = elapsed * pbar.maxval / pbar.currval - elapsed 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 155 elapsed = pbar.seconds_elapsed 156 currval1, elapsed1 = self._update_samples(pbar.currval, elapsed) 157 eta = self._eta(pbar.maxval, pbar.currval, elapsed) 161 elapsed - elapsed1)
|
| /openbmc/u-boot/test/py/tests/ |
| H A D | test_sleep.py | 31 elapsed = tend - tstart 32 assert elapsed >= (sleep_time - 0.01) 35 assert elapsed < (sleep_time + 0.25)
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | testrunner.py | 56 """ Cache for elapsed time for tests, to show it during new test run 83 def update(self, test: str, elapsed: float) -> None: 85 d.setdefault(self.env.imgproto, {})[self.env.imgfmt] = elapsed 100 elapsed: Optional[float] = None, diff: Sequence[str] = (), 104 self.elapsed = elapsed 140 self.last_elapsed = LastElapsedTime('.last-elapsed-cache', env) 299 elapsed = round(time.time() - t0, 1) 302 return TestResult(status='fail', elapsed=elapsed, [all...] |
| /openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
| H A D | metricblob.proto | 28 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/telemetry/tests/src/ |
| H A D | test_detached_timer.cpp | 28 auto elapsed = DbusEnvironment::measureTime([] { in TEST_F() local 32 EXPECT_THAT(elapsed, AllOf(Ge(100ms), Lt(200ms))); in TEST_F()
|
| H A D | dbus_environment.hpp | 49 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()
|
| /openbmc/qemu/tests/functional/ |
| H A D | replay_kernel.py | 63 elapsed = time.time() - start_time 64 self.log.info('elapsed time %.2f sec' % elapsed) 65 return elapsed
|
| /openbmc/u-boot/arch/arm/mach-imx/ |
| H A D | i2c-mxv7.c | 18 ulong elapsed, start_time; in force_idle_bus() local 49 elapsed = get_timer(start_time); in force_idle_bus() 50 if (elapsed > (CONFIG_SYS_HZ / 5)) { /* .2 seconds */ in force_idle_bus()
|
| /openbmc/phosphor-time-manager/ |
| H A D | bmc_epoch.cpp | 84 uint64_t BmcEpoch::elapsed() const in elapsed() function in phosphor::time::BmcEpoch 89 uint64_t BmcEpoch::elapsed(uint64_t value) in elapsed() function in phosphor::time::BmcEpoch 100 server::EpochTime::elapsed(value); in elapsed()
|
| H A D | bmc_epoch.hpp | 48 uint64_t elapsed() const override; 56 uint64_t elapsed(uint64_t value) override;
|
| /openbmc/phosphor-time-manager/test/ |
| H A D | TestBmcEpoch.cpp | 60 auto t1 = bmcEpoch->elapsed(); in TEST_F() 62 auto t2 = bmcEpoch->elapsed(); in TEST_F()
|
| /openbmc/openbmc/poky/bitbake/lib/hashserv/ |
| H A D | server.py | 76 self.elapsed = 0 87 def add(self, elapsed): argument 89 self.elapsed += elapsed 93 self.stats.add(self.elapsed) 95 self.elapsed = 0 110 def add(self, elapsed): argument 113 self.m = elapsed 117 self.m = last_m + (elapsed - last_m) / self.num 118 self.s = self.s + (elapsed - last_m) * (elapsed - self.m) 120 self.total_time += elapsed [all …]
|
| /openbmc/qemu/hw/timer/ |
| H A D | renesas_tmr.c | 127 int elapsed, ovf = 0; in read_tcnt() local 138 elapsed = elapsed_time(tmr, 1, delta); in read_tcnt() 139 if (elapsed >= 0x100) { in read_tcnt() 140 ovf = elapsed >> 8; in read_tcnt() 142 tcnt[1] = tmr->tcnt[1] + (elapsed & 0xff); in read_tcnt() 154 elapsed = elapsed_time(tmr, 0, delta); in read_tcnt() 155 tcnt[0] = tmr->tcnt[0] + elapsed; in read_tcnt()
|
| /openbmc/phosphor-debug-collector/ |
| H A D | dump_entry.hpp | 101 elapsed(timeStamp); in Entry() 107 elapsed(0); in Entry()
|
| H A D | bmc_dump_entry.cpp | 62 elapsed(extractedTimestamp); in updateFromFile()
|
| /openbmc/openbmc/poky/scripts/ |
| H A D | gen-lockedsig-cache | 94 elapsed = time.perf_counter() - start_time variable 95 print("Gathering file list took %.1fs" % elapsed)
|
| /openbmc/qemu/include/qemu/ |
| H A D | timed-average.h | 63 uint64_t timed_average_sum(TimedAverage *ta, uint64_t *elapsed);
|
| /openbmc/u-boot/drivers/i2c/ |
| H A D | mxc_i2c.c | 196 ulong elapsed; in wait_for_sr_state() local 218 elapsed = get_timer(start_time); in wait_for_sr_state() 219 if (elapsed > (CONFIG_SYS_HZ / 10)) /* .1 seconds */ in wait_for_sr_state() 361 ulong elapsed, start_time; in i2c_idle_bus() local 400 elapsed = get_timer(start_time); in i2c_idle_bus() 401 if (elapsed > (CONFIG_SYS_HZ / 5)) { /* .2 seconds */ in i2c_idle_bus()
|
| /openbmc/pldm/platform-mc/ |
| H A D | sensor_manager.cpp | 165 uint64_t elapsed = 0; in doSensorPollingTask() local 251 elapsed = t1 - sensor->timeStamp; in doSensorPollingTask() 252 if ((sensor->updateTime <= elapsed) || (!sensor->timeStamp)) in doSensorPollingTask()
|
| /openbmc/openbmc/poky/bitbake/lib/ |
| H A D | pyinotify.py | 1014 elapsed = int(time.time() - self._start_time) 1016 if elapsed < 60: 1017 elapsed_str = str(elapsed) + 'sec' 1018 elif 60 <= elapsed < 3600: 1019 elapsed_str = '%dmn%dsec' % (elapsed / 60, elapsed % 60) 1020 elif 3600 <= elapsed < 86400: 1021 elapsed_str = '%dh%dmn' % (elapsed / 3600, (elapsed % 3600) / 60) 1022 elif elapsed >= 86400: 1023 elapsed_str = '%dd%dh' % (elapsed / 86400, (elapsed % 86400) / 3600)
|
| /openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/ |
| H A D | system_dump_entry.hpp | 81 elapsed(timeStamp); in update()
|
| /openbmc/openbmc/poky/bitbake/bin/ |
| H A D | bitbake-hashclient | 96 elapsed = time.perf_counter() - start_time 104 times.append(elapsed) 271 elapsed = time.perf_counter() - start_time 272 times.append(elapsed)
|