Home
last modified time | relevance | path

Searched refs:NSEC_PER_MSEC (Results 1 – 18 of 18) sorted by relevance

/tools/testing/selftests/intel_pstate/
A Daperf.c17 #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 Dtime64.h8 #define NSEC_PER_MSEC 1000000L macro
/tools/testing/selftests/dma/
A Ddma_map_benchmark.c16 #define NSEC_PER_MSEC 1000000L macro
/tools/perf/ui/browsers/
A Dres_sample.c17 static u64 context_len = 10 * NSEC_PER_MSEC;
A Dhists.c2759 starttime -= 1*NSEC_PER_MSEC; in do_run_script()
2760 endtime += 1*NSEC_PER_MSEC; in do_run_script()
/tools/perf/util/
A Dbpf-trace-summary.c148 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 Dsvghelper.c280 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 Dsymbol.c66 .time_quantum = 100 * NSEC_PER_MSEC, /* 100ms */
A Devlist.c2386 .it_value.tv_nsec = (ms % MSEC_PER_SEC) * NSEC_PER_MSEC, in event_enable_timer__set_timer()
A Dheader.c2222 session->evlist->first_sample_time) / NSEC_PER_MSEC; in print_sample_time()
/tools/perf/
A Dbuiltin-kwork.c781 (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 Dbuiltin-sched.c781 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 Dbuiltin-trace.c1511 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 Dbuiltin-timechart.c1299 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 Dbuiltin-report.c1219 *time_q *= NSEC_PER_MSEC; in parse_time_quantum()
A Dbuiltin-stat.c563 time_diff.tv_nsec / NSEC_PER_MSEC; in compute_tts()
A Dbuiltin-record.c3224 opts->off_cpu_thresh_ns = off_cpu_thresh_ms * NSEC_PER_MSEC; in record__parse_off_cpu_thresh()
/tools/tracing/latency/
A Dlatency-collector.c115 #define NSEC_PER_MSEC (USEC_PER_MSEC * NSEC_PER_USEC) macro
119 #define NSEC_PER_SEC (NSEC_PER_MSEC * MSEC_PER_SEC)

Completed in 77 milliseconds