Searched refs:timediff (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 25 static unsigned long long timediff; variable 33 cpuidle_cstates[id].name, timediff, *percent, cpu); cpuidle_get_count_percent() 35 if (timediff == 0) cpuidle_get_count_percent() 38 *percent = ((100.0 * statediff) / timediff); cpuidle_get_count_percent() 40 dprint("%s: - timediff: %llu - statediff: %llu - percent: %f (%u)\n", cpuidle_get_count_percent() 41 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); cpuidle_get_count_percent() 67 timediff = timespec_diff_us(start_time, end_time); cpuidle_stop()
|
H A D | amd_fam14h_idle.c | 87 static unsigned long long timediff; variable 218 if (timediff == 0) fam14h_get_count_percent() 221 *percent = 100.0 * diff / timediff / 12.5; fam14h_get_count_percent() 224 timediff, diff * 10 / 125, *percent); fam14h_get_count_percent() 262 timediff = timespec_diff_us(start_time, end_time); amd_fam14h_stop() 263 if (timediff / 1000 > OVERFLOW_MS) amd_fam14h_stop() 264 print_overflow_err((unsigned int)timediff / 1000000, amd_fam14h_stop()
|
H A D | mperf_monitor.c | 121 unsigned long long timediff; mperf_get_count_percent() local 138 timediff = max_frequency * timespec_diff_us(time_start, time_end); mperf_get_count_percent() 139 *percent = 100.0 * mperf_diff / timediff; mperf_get_count_percent() 141 mperf_cstates[id].name, mperf_diff, timediff); mperf_get_count_percent()
|
H A D | cpupower-monitor.c | 280 unsigned long long timediff; fork_it() local 311 timediff = timespec_diff_us(start, end); fork_it() 314 argv[0], timediff / (1000.0 * 1000), fork_it()
|
/linux-4.4.14/drivers/net/hamradio/ |
H A D | baycom_ser_fdx.c | 233 int timediff; ser12_rx() local 238 timediff = 1000000 + tv->tv_usec - bc->modem.ser12.pll_time; ser12_rx() 239 while (timediff >= 500000) ser12_rx() 240 timediff -= 1000000; ser12_rx() 241 while (timediff >= bdus2) { ser12_rx() 242 timediff -= bc->baud_us; ser12_rx() 267 if (timediff > 0) ser12_rx() 272 if (abs(timediff) > bdus4) ser12_rx() 277 bc->debug_vals.cur_pllcorr = timediff; ser12_rx()
|
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | service.c | 1593 struct timespec64 timediff; ptlrpc_server_handle_request() local 1620 timediff = timespec64_sub(work_start, request->rq_arrival_time); ptlrpc_server_handle_request() 1621 timediff_usecs = timediff.tv_sec * USEC_PER_SEC + ptlrpc_server_handle_request() 1622 timediff.tv_nsec / NSEC_PER_USEC; ptlrpc_server_handle_request() 1697 timediff = timespec64_sub(work_end, work_start); ptlrpc_server_handle_request() 1698 timediff_usecs = timediff.tv_sec * USEC_PER_SEC + ptlrpc_server_handle_request() 1699 timediff.tv_nsec / NSEC_PER_USEC; ptlrpc_server_handle_request()
|
H A D | client.c | 1168 long timediff; after_reply() local 1248 timediff = (work_start.tv_sec - req->rq_arrival_time.tv_sec) * USEC_PER_SEC + after_reply() 1252 timediff); after_reply() 1253 ptlrpc_lprocfs_rpc_sent(req, timediff); after_reply()
|
Completed in 358 milliseconds