Home
last modified time | relevance | path

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

/tools/testing/selftests/intel_pstate/
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/
Dtime64.h8 #define NSEC_PER_MSEC 1000000L macro
/tools/testing/selftests/dma/
Ddma_map_benchmark.c15 #define NSEC_PER_MSEC 1000000L macro
20 #define DMA_MAP_MAX_TRANS_DELAY (10 * NSEC_PER_MSEC)
/tools/perf/ui/browsers/
Dres_sample.c17 static u64 context_len = 10 * NSEC_PER_MSEC;
Dhists.c2694 starttime -= 1*NSEC_PER_MSEC; in do_run_script()
2695 endtime += 1*NSEC_PER_MSEC; in do_run_script()
/tools/perf/
Dbuiltin-sched.c769 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 …]
Dbuiltin-trace.c1243 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;
Dbuiltin-timechart.c1291 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()
Dbuiltin-report.c1074 *time_q *= NSEC_PER_MSEC; in parse_time_quantum()
Dbuiltin-stat.c657 time_diff.tv_nsec / NSEC_PER_MSEC; in compute_tts()
/tools/perf/util/
Dsvghelper.c279 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()
Dsymbol.c58 .time_quantum = 100 * NSEC_PER_MSEC, /* 100ms */
Dheader.c2126 session->evlist->first_sample_time) / NSEC_PER_MSEC; in print_sample_time()
/tools/tracing/latency/
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)