/openbmc/linux/tools/perf/tests/shell/lib/ |
H A D | waiting.sh | 11 start_time=$($tenths) 18 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then 33 start_time=$($tenths) 40 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then 53 start_time=$($tenths) 56 if [ $(($($tenths) - start_time)) -ge $tm_out ] ; then 69 start_time=$($tenths) 72 if [ $(($($tenths) - start_time)) -gt $tm_out ] ; then
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | ksm_tests.c | 244 struct timespec start_time, int timeout) in ksm_merge_pages() argument 262 if (ksm_do_scan(2, start_time, timeout)) in ksm_merge_pages() 351 struct timespec start_time; in check_ksm_merge() local 384 struct timespec start_time; in check_ksm_unmerge() local 405 if (ksm_do_scan(1, start_time, timeout)) in check_ksm_unmerge() 425 struct timespec start_time; in check_ksm_zero_page_merge() local 490 struct timespec start_time; in check_ksm_numa_merge() local 554 struct timespec start_time, end_time; in ksm_merge_hugepages_time() local 621 struct timespec start_time, end_time; in ksm_merge_time() local 662 struct timespec start_time, end_time; in ksm_unmerge_time() local [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | map_perf_test_user.c | 84 __u64 start_time; in test_hash_prealloc() local 87 start_time = time_get_ns(); in test_hash_prealloc() 126 __u64 start_time; in do_test_lru() local 188 start_time = time_get_ns(); in do_test_lru() 225 __u64 start_time; in test_percpu_hash_prealloc() local 228 start_time = time_get_ns(); in test_percpu_hash_prealloc() 237 __u64 start_time; in test_hash_kmalloc() local 249 __u64 start_time; in test_percpu_hash_kmalloc() local 261 __u64 start_time; in test_lpm_kmalloc() local 273 __u64 start_time; in test_hash_lookup() local [all …]
|
H A D | test_overhead_user.c | 43 __u64 start_time; in test_task_rename() local 51 start_time = time_get_ns(); in test_task_rename() 60 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_task_rename() 68 __u64 start_time; in test_fib_table_lookup() local 80 start_time = time_get_ns(); in test_fib_table_lookup() 90 cpu, MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in test_fib_table_lookup()
|
H A D | trace_output_user.c | 17 static __u64 start_time; variable 39 MAX_CNT * 1000000000ll / (time_get_ns() - start_time)); in print_bpf_output() 96 start_time = time_get_ns(); in main()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
H A D | utils.py | 19 start_time = 0 23 if start_time > timeout: 42 start_time += 1 50 start_time = 0 54 if start_time > timeout: 80 start_time += 1
|
/openbmc/openbmc/poky/scripts/pybootchartgui/pybootchartgui/ |
H A D | process_tree.py | 59 self.start_time = self.get_start_time(self.process_tree) 61 self.duration = self.end_time - self.start_time 79 self.start_time = self.get_start_time(self.process_tree) 81 self.duration = self.end_time - self.start_time 163 process_end = p.start_time + p.duration 165 process_end >= self.start_time + self.duration and \ 166 p.start_time > self.start_time and \ 288 p1time = p1.start_time 289 p2time = p2.start_time 290 p1.start_time = min(p1time, p2time) [all …]
|
H A D | samples.py | 118 def __init__(self, writer, process_map, sample_count, sample_period, start_time, end_time): argument 122 self.start_time = start_time 128 def __init__(self, writer, pid, cmd, ppid, start_time): argument 135 self.start_time = start_time 150 def split(self, writer, pid, cmd, ppid, start_time): argument 151 split = Process (writer, pid, cmd, ppid, start_time) 166 self.start_time = min(firstSample.time, self.start_time) 167 self.duration = lastSample.time - self.start_time + samplePeriod 192 return self.start_time + self.duration
|
/openbmc/linux/tools/perf/ |
H A D | builtin-timechart.c | 98 u64 start_time; member 112 u64 start_time; member 145 u64 start_time; member 164 u64 start_time; member 180 u64 start_time; member 310 if (c->start_time == 0 || c->start_time > start) in pid_put_sample() 311 c->start_time = start; in pid_put_sample() 312 if (p->start_time == 0 || p->start_time > start) in pid_put_sample() 394 if (!pwr->start_time) in p_state_end() 766 if (c->start_time == 0 || c->start_time > start) in pid_begin_io_sample() [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/ |
H A D | clock.c | 72 ulong start_time, tmp_time; in at91_upll_clk_enable() local 77 start_time = get_timer(0); in at91_upll_clk_enable() 81 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_enable() 93 ulong start_time, tmp_time; in at91_upll_clk_disable() local 95 start_time = get_timer(0); in at91_upll_clk_disable() 99 if ((tmp_time - start_time) > EN_UPLL_TIMEOUT) { in at91_upll_clk_disable()
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | alarmtimer-suspend.c | 54 struct timespec start_time; variable 105 delta_ns = timespec_sub(start_time, ts); in sigalarm() 150 clock_gettime(alarm_clock_id, &start_time); in main() 152 start_time.tv_sec, start_time.tv_nsec); in main() 154 its1.it_value = start_time; in main()
|
/openbmc/u-boot/arch/arm/mach-at91/arm920t/ |
H A D | clock.c | 163 ulong start_time, tmp_time; in at91_pllb_clk_enable() local 165 start_time = get_timer(0); in at91_pllb_clk_enable() 169 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_enable() 181 ulong start_time, tmp_time; in at91_pllb_clk_disable() local 183 start_time = get_timer(0); in at91_pllb_clk_disable() 187 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_disable()
|
/openbmc/linux/include/net/ |
H A D | busy_poll.h | 45 bool sk_busy_loop_end(void *p, unsigned long start_time); 74 static inline bool busy_loop_timeout(unsigned long start_time) in busy_loop_timeout() argument 80 unsigned long end_time = start_time + bp_usec; in busy_loop_timeout() 90 unsigned long start_time) in sk_busy_loop_timeout() argument 96 unsigned long end_time = start_time + bp_usec; in sk_busy_loop_timeout()
|
/openbmc/openbmc/poky/meta/lib/oeqa/buildperf/ |
H A D | base.py | 98 self.start_time = self.elapsed_time = None 130 self.start_time = datetime.utcnow() 188 suite.set('timestamp', self.start_time.isoformat()) 254 self.start_time = None 287 self.start_time = datetime.now() 289 self.elapsed_time = datetime.now() - self.start_time 313 start_time = datetime.now() 315 etime = datetime.now() - start_time 330 'start_time': start_time, 416 bs_json['start_time'] = start_time [all …]
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-i2c.c | 111 unsigned long start_time; in cobalt_tx_bytes() local 138 start_time = jiffies; in cobalt_tx_bytes() 141 if (time_after(jiffies, start_time + adap->timeout)) in cobalt_tx_bytes() 169 unsigned long start_time; in cobalt_rx_bytes() local 197 start_time = jiffies; in cobalt_rx_bytes() 200 if (time_after(jiffies, start_time + adap->timeout)) in cobalt_rx_bytes() 310 unsigned long start_time; in cobalt_i2c_init() local 327 start_time = jiffies; in cobalt_i2c_init() 329 if (time_after(jiffies, start_time + HZ)) { in cobalt_i2c_init()
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_tc.c | 278 gcl->start_time = tsnep_gcl_start_after(gcl, limit); in tsnep_enable_gcl() 283 if ((gcl->start_time - system_time) >= U32_MAX) in tsnep_enable_gcl() 291 last = tsnep_gcl_start_before(curr, gcl->start_time); in tsnep_enable_gcl() 292 if ((last + curr->cycle_time) == gcl->start_time) in tsnep_enable_gcl() 294 gcl->start_time - last); in tsnep_enable_gcl() 295 else if (((gcl->start_time - last) <= in tsnep_enable_gcl() 297 ((gcl->start_time - last) <= TSNEP_GCL_MIN_INTERVAL)) in tsnep_enable_gcl() 299 gcl->start_time - last); in tsnep_enable_gcl() 302 gcl->start_time - last); in tsnep_enable_gcl() 309 WARN_ON(gcl->start_time <= timeout); in tsnep_enable_gcl() [all …]
|
/openbmc/u-boot/drivers/misc/ |
H A D | tegra186_bpmp.c | 36 ulong start_time; in tegra186_bpmp_call() local 61 start_time = timer_get_us(); in tegra186_bpmp_call() 74 if ((timer_get_us() - start_time) > 20 * 1000) { in tegra186_bpmp_call() 175 ulong tx_base, rx_base, start_time; in tegra186_bpmp_probe() local 205 start_time = timer_get_us(); in tegra186_bpmp_probe() 212 if ((timer_get_us() - start_time) > 100 * 1000) { in tegra186_bpmp_probe()
|
/openbmc/openbmc/poky/bitbake/lib/progressbar/ |
H A D | progressbar.py | 134 self.start_time = None 159 if self.start_time is None: 165 if self.start_time is None: 262 if self.start_time is None: 266 self.seconds_elapsed = now - self.start_time 298 self.start_time = time.time() 300 self.last_update_time = self.start_time
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_hashmap_lookup.c | 55 u64 start_time; in benchmark() local 58 start_time = bpf_ktime_get_ns(); in benchmark() 60 percpu_times[cpu & CPU_MASK][times_index] = bpf_ktime_get_ns() - start_time; in benchmark()
|
/openbmc/linux/tools/laptop/dslm/ |
H A D | dslm.c | 68 time_t start_time; in measure() local 84 start_time = last_time = time(0); in measure() 109 total_time = time(0) - start_time; in measure() 110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
|
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/ |
H A D | clock.c | 256 ulong start_time, tmp_time; in at91_pllb_clk_enable() local 258 start_time = get_timer(0); in at91_pllb_clk_enable() 262 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_enable() 274 ulong start_time, tmp_time; in at91_pllb_clk_disable() local 276 start_time = get_timer(0); in at91_pllb_clk_disable() 280 if ((tmp_time - start_time) > EN_PLLB_TIMEOUT) { in at91_pllb_clk_disable()
|
/openbmc/u-boot/drivers/i2c/ |
H A D | s3c24x0_i2c.c | 41 ulong start_time = get_timer(0); in WaitForXfer() local 47 } while (get_timer(start_time) < I2C_TIMEOUT_MS); in WaitForXfer() 112 ulong start_time = get_timer(0); in i2c_transfer() local 121 if (get_timer(start_time) > I2C_TIMEOUT_MS) in i2c_transfer() 283 ulong start_time; in s3c24x0_i2c_xfer() local 286 start_time = get_timer(0); in s3c24x0_i2c_xfer() 288 if (get_timer(start_time) > I2C_TIMEOUT_MS) { in s3c24x0_i2c_xfer()
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | gruhandles.c | 68 unsigned long start_time = get_cycles(); in wait_instruction_complete() local 75 if (GRU_OPERATION_TIMEOUT < (get_cycles() - start_time)) { in wait_instruction_complete() 77 start_time = get_cycles(); in wait_instruction_complete() 81 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
|
/openbmc/u-boot/drivers/spi/ |
H A D | lpc32xx_ssp.c | 116 int start_time; in spi_xfer() local 118 start_time = get_timer(0); in spi_xfer() 125 if (get_timer(start_time) >= CONFIG_LPC32XX_SSP_TIMEOUT) in spi_xfer()
|
/openbmc/u-boot/arch/arm/mach-imx/ |
H A D | i2c-mxv7.c | 18 ulong elapsed, start_time; in force_idle_bus() local 42 start_time = get_timer(0); in force_idle_bus() 49 elapsed = get_timer(start_time); in force_idle_bus()
|