Searched refs:timediff (Results 1 - 9 of 9) sorted by relevance
/linux-master/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); 33 if (timediff == 0) 36 *percent = ((100.0 * statediff) / timediff); 38 dprint("%s: - timediff: %llu - statediff: %llu - percent: %f (%u)\n", 39 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); 65 timediff = timespec_diff_us(start_time, end_time);
|
H A D | amd_fam14h_idle.c | 86 static unsigned long long timediff; variable 217 if (timediff == 0) 220 *percent = 100.0 * diff / timediff / 12.5; 223 timediff, diff * 10 / 125, *percent); 261 timediff = timespec_diff_us(start_time, end_time); 262 if (timediff / 1000 > OVERFLOW_MS) 263 print_overflow_err((unsigned int)timediff / 1000000,
|
H A D | mperf_monitor.c | 160 unsigned long long timediff; local 177 timediff = max_frequency * timespec_diff_us(time_start, time_end); 178 *percent = 100.0 * mperf_diff / timediff; 180 mperf_cstates[id].name, mperf_diff, timediff);
|
H A D | cpupower-monitor.c | 285 unsigned long long timediff; local 316 timediff = timespec_diff_us(start, end); 319 argv[0], timediff / (1000.0 * 1000),
|
/linux-master/drivers/net/hamradio/ |
H A D | baycom_ser_fdx.c | 193 int timediff; local 198 timediff = 1000000 + ts->tv_nsec / NSEC_PER_USEC - 200 while (timediff >= 500000) 201 timediff -= 1000000; 202 while (timediff >= bdus2) { 203 timediff -= bc->baud_us; 228 if (timediff > 0) 233 if (abs(timediff) > bdus4) 238 bc->debug_vals.cur_pllcorr = timediff;
|
/linux-master/tools/testing/selftests/net/ |
H A D | fin_ack_lat.c | 17 static unsigned long timediff(struct timeval s, struct timeval e) function 69 lat = timediff(start, end);
|
/linux-master/arch/s390/kernel/ |
H A D | time.c | 614 int64_t timediff; local 633 timediff = tod_to_ns(lsoib->nlsout - get_tod_clock()) / NSEC_PER_SEC; 641 if (timediff < 0) { 644 } else if (timediff < 7200) {
|
/linux-master/drivers/mmc/host/ |
H A D | bcm2835.c | 285 int timediff; local 291 timediff = 0; 308 timediff++; 309 if (timediff == 100000) { 312 timediff);
|
/linux-master/net/sched/ |
H A D | sch_cbs.c | 139 /* timediff is in ns, slope is in bytes/s */ 140 static s64 timediff_to_credits(s64 timediff, s64 slope) argument 142 return div64_s64(timediff * slope, NSEC_PER_SEC);
|
Completed in 150 milliseconds