/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_managers_bmc_time.robot | 31 ${time_diff}= Subtract Date From Date ${cli_date_time} 33 ${time_diff}= Evaluate abs(${time_diff}) 34 Rprint Vars redfish_date_time cli_date_time time_diff 35 Should Be True ${time_diff} < ${max_time_diff_in_seconds} 50 ${time_diff}= Subtract Date From Date ${cli_bmc_time} 52 ${time_diff}= Evaluate abs(${time_diff}) 54 Should Be True ${time_diff} < ${max_time_diff_in_seconds} 94 ${time_diff}= Subtract Date From Date ${bmc_time} 96 ${time_diff}= Evaluate abs(${time_diff}) 97 Rprint Vars local_system_time bmc_time time_diff max_time_diff_in_seconds [all …]
|
/openbmc/linux/tools/laptop/dslm/ |
H A D | dslm.c | 73 time_t time_diff; in measure() local 94 time_diff = curr_time - last_time; in measure() 96 if (last_state == 1) active_time += time_diff; in measure() 97 else if (last_state == 0) sleep_time += time_diff; in measure() 98 else unknown_time += time_diff; in measure()
|
/openbmc/openbmc-test-automation/redfish/task_service/ |
H A D | test_tasks_service.robot | 65 ${time_diff}= Subtract Date From Date ${cur_time} ${bmc_time[0]} 69 ${time_diff}= Evaluate ${time_diff} < 5 71 Should Be Equal ${time_diff} ${TRUE} 135 ${time_diff}= Subtract Date From Date ${cur_time} ${start_time[0]} 139 ${time_diff}= Evaluate ${time_diff} < 10 140 Should Be Equal ${time_diff} ${TRUE} Time difference greater than 10 seconds. 163 ${time_diff}= Subtract Date From Date ${end_time[0]} ${start_time[0]} 165 ${time_diff}= Evaluate ${time_diff} >= 0 167 Should Be Equal ${time_diff} ${TRUE}
|
/openbmc/linux/arch/mips/sgi-ip30/ |
H A D | ip30-setup.c | 88 int time_diff; in ip30_cpu_time_init() local 97 time_diff = (int)end - (int)start; in ip30_cpu_time_init() 98 mips_hpt_frequency = time_diff * 10; in ip30_cpu_time_init()
|
/openbmc/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | mperf_monitor.c | 196 unsigned long long aperf_diff, mperf_diff, time_diff, tsc_diff; in mperf_get_count_freq() local 210 time_diff = timespec_diff_us(time_start, time_end); in mperf_get_count_freq() 211 max_frequency = tsc_diff / time_diff; in mperf_get_count_freq()
|
/openbmc/linux/net/netfilter/ |
H A D | xt_IDLETIMER.c | 69 long time_diff = 0; in idletimer_tg_show() local 78 time_diff = ktimespec.tv_sec; in idletimer_tg_show() 81 time_diff = jiffies_to_msecs(expires - jiffies) / 1000; in idletimer_tg_show() 88 return sysfs_emit(buf, "%ld\n", time_diff); in idletimer_tg_show()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-kvm.c | 833 kvm_stats->time += time_diff; in kvm_update_event_stats() 834 update_stats(&kvm_stats->stats, time_diff); in kvm_update_event_stats() 850 u64 time_diff) in update_kvm_event() argument 854 kvm->total_time += time_diff; in update_kvm_event() 857 kvm_update_event_stats(&event->total, time_diff); in update_kvm_event() 864 kvm_update_event_stats(&event->vcpu[vcpu_id], time_diff); in update_kvm_event() 922 u64 time_begin, time_diff; in handle_end_event() local 961 time_diff = sample->time - time_begin; in handle_end_event() 963 if (kvm->duration && time_diff > kvm->duration) { in handle_end_event() 970 decode, time_diff / NSEC_PER_USEC); in handle_end_event() [all …]
|
H A D | builtin-stat.c | 575 struct timespec time_diff; in compute_tts() local 577 diff_timespec(&time_diff, time_stop, time_start); in compute_tts() 579 tts -= time_diff.tv_sec * MSEC_PER_SEC + in compute_tts() 580 time_diff.tv_nsec / NSEC_PER_MSEC; in compute_tts()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bmc_date_and_time_utils.robot | 80 ${time_diff}= Subtract Date From Date ${current_value} ${new_value} 81 Should Be True '${time_diff}'<='3'
|
H A D | common_utils.robot | 908 ${time_diff}= Evaluate 910 Should Be True ${time_diff} < ${time_diff_max}
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_si_intf.c | 1079 long time_diff; in smi_timeout() local 1086 time_diff = (((long)jiffies_now - (long)smi_info->last_timeout_jiffies) in smi_timeout() 1088 smi_result = smi_event_handler(smi_info, time_diff); in smi_timeout() 2164 long time_diff; in wait_msg_processed() local 2168 time_diff = (((long)jiffies_now - (long)smi_info->last_timeout_jiffies) in wait_msg_processed() 2170 smi_event_handler(smi_info, time_diff); in wait_msg_processed()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 677 unsigned int time_diff = jiffies_to_msecs(jiffies) in gpstate_timer_handler() local 708 gpstates->last_sampled_time += time_diff; in gpstate_timer_handler() 709 gpstates->elapsed_time += time_diff; in gpstate_timer_handler()
|
/openbmc/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965-rs.c | 259 u32 time_diff; in il4965_rs_tl_add_packet() local 287 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_add_packet() 288 idx = time_diff / TID_QUEUE_CELL_SPACING; in il4965_rs_tl_add_packet() 312 u32 time_diff; in il4965_rs_tl_get_load() local 326 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_get_load() 327 idx = time_diff / TID_QUEUE_CELL_SPACING; in il4965_rs_tl_get_load()
|
/openbmc/linux/drivers/scsi/arm/ |
H A D | acornscsi.c | 504 unsigned long time_diff; in acornscsi_dumplogline() local 520 time_diff = host->status[target][ptr].when - prev; in acornscsi_dumplogline() 522 if (time_diff == 0) in acornscsi_dumplogline() 524 else if (time_diff >= 100) in acornscsi_dumplogline() 527 printk(" %02ld", time_diff); in acornscsi_dumplogline()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_offload.py | 1160 time_diff = end - start variable 1161 log("Time", "start:\t%s\nend:\t%s\ndiff:\t%s" % (start, end, time_diff)) 1165 fail(time_diff < delay_sec, "Removal process took %s, expected %s" % 1166 (time_diff, delay_sec))
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | rs.c | 252 u32 time_diff; in rs_tl_add_packet() local 280 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_add_packet() 281 index = time_diff / TID_QUEUE_CELL_SPACING; in rs_tl_add_packet() 334 u32 time_diff; in rs_tl_get_load() local 348 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_get_load() 349 index = time_diff / TID_QUEUE_CELL_SPACING; in rs_tl_get_load()
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sel.robot | 330 ${time_diff}= 335 Should Be True ${time_diff} <= 2
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 2474 u64 time_diff; in ice_ptp_reset() local 2504 time_diff = ktime_get_real_ns() - ptp->reset_time; in ice_ptp_reset() 2505 ts = ns_to_timespec64(ptp->cached_phc_time + time_diff); in ice_ptp_reset()
|
/openbmc/linux/drivers/dma/ti/ |
H A D | k3-udma.c | 1092 ktime_t time_diff; in udma_check_tx_completion() local 1099 time_diff = uc->tx_drain.tstamp; in udma_check_tx_completion() 1112 time_diff = ktime_sub(uc->tx_drain.tstamp, in udma_check_tx_completion() 1113 time_diff) + 1; in udma_check_tx_completion() 1122 delay = (time_diff / residue_diff) * in udma_check_tx_completion()
|
/openbmc/linux/drivers/net/wireless/atmel/ |
H A D | atmel.c | 3288 unsigned long time_diff = (jiffies - priv->last_qual) / HZ; in atmel_smooth_qual() local 3289 while (time_diff--) { in atmel_smooth_qual()
|