Searched refs:NSEC_PER_MSEC (Results 1 – 18 of 18) sorted by relevance
| /tools/testing/selftests/intel_pstate/ |
| A D | aperf.c | 17 #define NSEC_PER_MSEC 1000000L macro 86 start = before.tv_sec*MSEC_PER_SEC + before.tv_nsec/NSEC_PER_MSEC; in main() 87 finish = after.tv_sec*MSEC_PER_SEC + after.tv_nsec/NSEC_PER_MSEC; in main()
|
| /tools/include/linux/ |
| A D | time64.h | 8 #define NSEC_PER_MSEC 1000000L macro
|
| /tools/testing/selftests/dma/ |
| A D | dma_map_benchmark.c | 16 #define NSEC_PER_MSEC 1000000L macro
|
| /tools/perf/ui/browsers/ |
| A D | res_sample.c | 17 static u64 context_len = 10 * NSEC_PER_MSEC;
|
| A D | hists.c | 2759 starttime -= 1*NSEC_PER_MSEC; in do_run_script() 2760 endtime += 1*NSEC_PER_MSEC; in do_run_script()
|
| /tools/perf/util/ |
| A D | bpf-trace-summary.c | 148 double total = (double)(stat->total_time) / NSEC_PER_MSEC; in print_common_stats() 149 double min = (double)(stat->min_time) / NSEC_PER_MSEC; in print_common_stats() 150 double max = (double)(stat->max_time) / NSEC_PER_MSEC; in print_common_stats()
|
| A D | svghelper.c | 280 if (duration < NSEC_PER_MSEC) { /* less than 1 msec */ in time_to_string() 284 sprintf(text, "%.1f ms", duration / (double)NSEC_PER_MSEC); in time_to_string() 300 if (end-start > 10 * NSEC_PER_MSEC) /* 10 msec */ in svg_waiting()
|
| A D | symbol.c | 66 .time_quantum = 100 * NSEC_PER_MSEC, /* 100ms */
|
| A D | evlist.c | 2386 .it_value.tv_nsec = (ms % MSEC_PER_SEC) * NSEC_PER_MSEC, in event_enable_timer__set_timer()
|
| A D | header.c | 2222 session->evlist->first_sample_time) / NSEC_PER_MSEC; in print_sample_time()
|
| /tools/perf/ |
| A D | builtin-kwork.c | 781 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_print_event() 788 (double)(atom->time - atom->prev->time) / NSEC_PER_MSEC); in timehist_print_event() 1379 (double)work->total_runtime / NSEC_PER_MSEC); in report_print_work() 1384 work->nr_atoms / NSEC_PER_MSEC); in report_print_work() 1404 (double)work->max_runtime / NSEC_PER_MSEC, in report_print_work() 1420 (double)work->max_latency / NSEC_PER_MSEC, in report_print_work() 1507 (double)kwork->all_runtime / NSEC_PER_MSEC, in print_summary() 1510 (double)time / NSEC_PER_MSEC); in print_summary() 1603 (double)cpus_total_time / NSEC_PER_MSEC, in top_print_cpu_usage() 1668 (double)work->total_runtime / NSEC_PER_MSEC); in top_print_work()
|
| A D | builtin-sched.c | 781 printf("ravg: %0.2f, ", (double)sched->run_avg / NSEC_PER_MSEC); in run_one_test() 784 (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); in run_one_test() 792 (double)sched->parent_cpu_usage / NSEC_PER_MSEC, in run_one_test() 793 (double)sched->runavg_parent_cpu_usage / NSEC_PER_MSEC); in run_one_test() 808 burn_nsecs(sched, NSEC_PER_MSEC); in test_calibrations() 814 sleep_nsecs(NSEC_PER_MSEC); in test_calibrations() 1379 (double)work_list->total_runtime / NSEC_PER_MSEC, in output_lat_thread() 1380 work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, in output_lat_thread() 1381 (double)work_list->max_lat / NSEC_PER_MSEC, in output_lat_thread() 1977 msecs = nsecs / NSEC_PER_MSEC; in print_sched_time() [all …]
|
| A D | builtin-trace.c | 1511 double duration = (double)t / NSEC_PER_MSEC; in fprintf_duration() 1870 return t < (trace->duration_filter * NSEC_PER_MSEC); in trace__filter_duration() 1875 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in __trace__fprintf_tstamp() 2705 double ts = (double)sample->time / NSEC_PER_MSEC; in trace__fprintf_sample() 3105 double runtime_ms = (double)runtime / NSEC_PER_MSEC; in trace__sched_stat_runtime() 4811 entry[i].msecs = (u64)st->n * (avg_stats(st) / NSEC_PER_MSEC); in syscall__sort_stats() 4843 double min = (double)(stats->stats.min) / NSEC_PER_MSEC; in syscall__dump_stats() 4844 double max = (double)(stats->stats.max) / NSEC_PER_MSEC; in syscall__dump_stats() 4850 avg /= NSEC_PER_MSEC; in syscall__dump_stats()
|
| A D | builtin-timechart.c | 1299 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1914 *value *= NSEC_PER_MSEC; in parse_time() 1933 .min_time = NSEC_PER_MSEC, in cmd_timechart()
|
| A D | builtin-report.c | 1219 *time_q *= NSEC_PER_MSEC; in parse_time_quantum()
|
| A D | builtin-stat.c | 563 time_diff.tv_nsec / NSEC_PER_MSEC; in compute_tts()
|
| A D | builtin-record.c | 3224 opts->off_cpu_thresh_ns = off_cpu_thresh_ms * NSEC_PER_MSEC; in record__parse_off_cpu_thresh()
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 115 #define NSEC_PER_MSEC (USEC_PER_MSEC * NSEC_PER_USEC) macro 119 #define NSEC_PER_SEC (NSEC_PER_MSEC * MSEC_PER_SEC)
|
Completed in 84 milliseconds