/openbmc/linux/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 23 static unsigned long long timediff; variable 31 cpuidle_cstates[id].name, timediff, *percent, cpu); in cpuidle_get_count_percent() 33 if (timediff == 0) in cpuidle_get_count_percent() 36 *percent = ((100.0 * statediff) / timediff); in cpuidle_get_count_percent() 39 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); in cpuidle_get_count_percent() 65 timediff = timespec_diff_us(start_time, end_time); in cpuidle_stop()
|
H A D | amd_fam14h_idle.c | 86 static unsigned long long timediff; variable 217 if (timediff == 0) in fam14h_get_count_percent() 220 *percent = 100.0 * diff / timediff / 12.5; in fam14h_get_count_percent() 223 timediff, diff * 10 / 125, *percent); in fam14h_get_count_percent() 261 timediff = timespec_diff_us(start_time, end_time); in amd_fam14h_stop() 262 if (timediff / 1000 > OVERFLOW_MS) in amd_fam14h_stop() 263 print_overflow_err((unsigned int)timediff / 1000000, in amd_fam14h_stop()
|
H A D | mperf_monitor.c | 160 unsigned long long timediff; in mperf_get_count_percent() local 177 timediff = max_frequency * timespec_diff_us(time_start, time_end); in mperf_get_count_percent() 178 *percent = 100.0 * mperf_diff / timediff; in mperf_get_count_percent() 180 mperf_cstates[id].name, mperf_diff, timediff); in mperf_get_count_percent()
|
H A D | cpupower-monitor.c | 285 unsigned long long timediff; in fork_it() local 316 timediff = timespec_diff_us(start, end); in fork_it() 319 argv[0], timediff / (1000.0 * 1000), in fork_it()
|
/openbmc/linux/drivers/net/hamradio/ |
H A D | baycom_ser_fdx.c | 193 int timediff; in ser12_rx() local 198 timediff = 1000000 + ts->tv_nsec / NSEC_PER_USEC - in ser12_rx() 200 while (timediff >= 500000) in ser12_rx() 201 timediff -= 1000000; in ser12_rx() 202 while (timediff >= bdus2) { in ser12_rx() 203 timediff -= bc->baud_us; in ser12_rx() 228 if (timediff > 0) in ser12_rx() 233 if (abs(timediff) > bdus4) in ser12_rx() 238 bc->debug_vals.cur_pllcorr = timediff; in ser12_rx()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | fin_ack_lat.c | 17 static unsigned long timediff(struct timeval s, struct timeval e) in timediff() function 69 lat = timediff(start, end); in client()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | time.c | 614 int64_t timediff; in stp_check_leap() local 633 timediff = tod_to_ns(lsoib->nlsout - get_tod_clock()) / NSEC_PER_SEC; in stp_check_leap() 641 if (timediff < 0) { in stp_check_leap() 644 } else if (timediff < 7200) { in stp_check_leap()
|
/openbmc/u-boot/drivers/mmc/ |
H A D | bcm2835_sdhost.c | 237 int timediff = 0; in bcm2835_wait_transfer_complete() local 258 if (timediff++ == 100000) { in bcm2835_wait_transfer_complete() 261 timediff); in bcm2835_wait_transfer_complete()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | bcm2835.c | 285 int timediff; in bcm2835_wait_transfer_complete() local 291 timediff = 0; in bcm2835_wait_transfer_complete() 308 timediff++; in bcm2835_wait_transfer_complete() 309 if (timediff == 100000) { in bcm2835_wait_transfer_complete() 312 timediff); in bcm2835_wait_transfer_complete()
|
/openbmc/linux/net/sched/ |
H A D | sch_cbs.c | 140 static s64 timediff_to_credits(s64 timediff, s64 slope) in timediff_to_credits() argument 142 return div64_s64(timediff * slope, NSEC_PER_SEC); in timediff_to_credits()
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | buildstats.bbclass | 81 timediff = end_time - oldtime 86 return timediff, cpuperc
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | views.py | 1306 timediff = now - build.started_on 1307 build_stat['seconds']='%.3f' % timediff.total_seconds() 1319 timediff = build.completed_on - build.started_on 1320 build_stat['seconds']='%.3f' % timediff.total_seconds()
|