Home
last modified time | relevance | path

Searched refs:NSEC_PER_USEC (Results 1 – 9 of 9) sorted by relevance

/tools/include/linux/
Dtime64.h7 #define NSEC_PER_USEC 1000L macro
/tools/perf/bench/
Dnuma.c1240 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1253 runtime_ns_max += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1261 td->runtime_ns += diff.tv_usec * NSEC_PER_USEC; in worker_thread()
1267 td->system_time_ns += rusage.ru_stime.tv_usec * NSEC_PER_USEC; in worker_thread()
1269 td->user_time_ns += rusage.ru_utime.tv_usec * NSEC_PER_USEC; in worker_thread()
1550 startup_sec += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()
1591 runtime_sec_max += diff.tv_usec * NSEC_PER_USEC; in __bench_numa()
/tools/perf/
Dbuiltin-kvm.c396 decode, time_diff / NSEC_PER_USEC); in handle_end_event()
642 pr_info("%9.2fus ", (double)min / NSEC_PER_USEC); in print_result()
643 pr_info("%9.2fus ", (double)max / NSEC_PER_USEC); in print_result()
644 pr_info("%9.2fus ( +-%7.2f%% )", (double)etime / ecount / NSEC_PER_USEC, in print_result()
650 kvm->total_count, kvm->total_time / (double)NSEC_PER_USEC); in print_result()
1415 kvm->duration *= NSEC_PER_USEC; /* convert usec to nsec */ in kvm_events_live()
Dbuiltin-sched.c550 sum = ru.ru_utime.tv_sec * NSEC_PER_SEC + ru.ru_utime.tv_usec * NSEC_PER_USEC; in get_cpu_usage_nsec_parent()
551 sum += ru.ru_stime.tv_sec * NSEC_PER_SEC + ru.ru_stime.tv_usec * NSEC_PER_USEC; in get_cpu_usage_nsec_parent()
1840 usecs = nsecs / NSEC_PER_USEC; in print_sched_time()
Dbuiltin-report.c978 *time_q *= NSEC_PER_USEC; in parse_time_quantum()
Dbuiltin-timechart.c1904 *value *= NSEC_PER_USEC; in parse_time()
/tools/perf/util/
Ddebug.c65 usecs = nsecs / NSEC_PER_USEC; in veprintf_time()
Dsvghelper.c276 if (duration < NSEC_PER_USEC) /* less than 1 usec */ in time_to_string()
280 sprintf(text, "%.1f us", duration / (double)NSEC_PER_USEC); in time_to_string()
Dtime-utils.c531 u64 usec = (timestamp % NSEC_PER_SEC) / NSEC_PER_USEC; in timestamp__scnprintf_usec()