Searched refs:NSEC_PER_MSEC (Results 1 – 14 of 14) sorted by relevance
/tools/testing/selftests/intel_pstate/ |
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/ |
D | time64.h | 8 #define NSEC_PER_MSEC 1000000L macro
|
/tools/testing/selftests/dma/ |
D | dma_map_benchmark.c | 15 #define NSEC_PER_MSEC 1000000L macro 20 #define DMA_MAP_MAX_TRANS_DELAY (10 * NSEC_PER_MSEC)
|
/tools/perf/ui/browsers/ |
D | res_sample.c | 17 static u64 context_len = 10 * NSEC_PER_MSEC;
|
D | hists.c | 2694 starttime -= 1*NSEC_PER_MSEC; in do_run_script() 2695 endtime += 1*NSEC_PER_MSEC; in do_run_script()
|
/tools/perf/ |
D | builtin-sched.c | 769 printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / NSEC_PER_MSEC); in run_one_test() 771 printf("ravg: %0.2f, ", (double)sched->run_avg / NSEC_PER_MSEC); in run_one_test() 774 (double)sched->cpu_usage / NSEC_PER_MSEC, (double)sched->runavg_cpu_usage / NSEC_PER_MSEC); in run_one_test() 782 (double)sched->parent_cpu_usage / NSEC_PER_MSEC, in run_one_test() 783 (double)sched->runavg_parent_cpu_usage / NSEC_PER_MSEC); in run_one_test() 798 burn_nsecs(sched, NSEC_PER_MSEC); in test_calibrations() 804 sleep_nsecs(NSEC_PER_MSEC); in test_calibrations() 1353 (double)work_list->total_runtime / NSEC_PER_MSEC, in output_lat_thread() 1354 work_list->nb_atoms, (double)avg / NSEC_PER_MSEC, in output_lat_thread() 1355 (double)work_list->max_lat / NSEC_PER_MSEC, in output_lat_thread() [all …]
|
D | builtin-trace.c | 1243 double duration = (double)t / NSEC_PER_MSEC; in fprintf_duration() 1515 return t < (trace->duration_filter * NSEC_PER_MSEC); in trace__filter_duration() 1520 double ts = (double)(tstamp - trace->base_time) / NSEC_PER_MSEC; in __trace__fprintf_tstamp() 2248 double ts = (double)sample->time / NSEC_PER_MSEC; 2641 double runtime_ms = (double)runtime / NSEC_PER_MSEC; 4326 entry->msecs = stats ? (u64)stats->stats.n * (avg_stats(&stats->stats) / NSEC_PER_MSEC) : 0; 4349 double min = (double)(stats->stats.min) / NSEC_PER_MSEC; 4350 double max = (double)(stats->stats.max) / NSEC_PER_MSEC; 4356 avg /= NSEC_PER_MSEC;
|
D | builtin-timechart.c | 1291 sprintf(comm, "%s:%i (%3.1fms)", c->comm, p->pid, c->total_time / (double)NSEC_PER_MSEC); in draw_process_bars() 1900 *value *= NSEC_PER_MSEC; in parse_time() 1926 .min_time = NSEC_PER_MSEC, in cmd_timechart()
|
D | builtin-report.c | 1074 *time_q *= NSEC_PER_MSEC; in parse_time_quantum()
|
D | builtin-stat.c | 657 time_diff.tv_nsec / NSEC_PER_MSEC; in compute_tts()
|
/tools/perf/util/ |
D | svghelper.c | 279 if (duration < NSEC_PER_MSEC) { /* less than 1 msec */ in time_to_string() 283 sprintf(text, "%.1f ms", duration / (double)NSEC_PER_MSEC); in time_to_string() 299 if (end-start > 10 * NSEC_PER_MSEC) /* 10 msec */ in svg_waiting()
|
D | symbol.c | 58 .time_quantum = 100 * NSEC_PER_MSEC, /* 100ms */
|
D | header.c | 2126 session->evlist->first_sample_time) / NSEC_PER_MSEC; in print_sample_time()
|
/tools/tracing/latency/ |
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)
|