Home
last modified time | relevance | path

Searched refs:NS_PER_US (Results 1 – 15 of 15) sorted by relevance

/external/ltp/testcases/realtime/func/prio-wake/
Dprio-wake.c119 start / NS_PER_US); in master_thread()
150 start / NS_PER_US, j, mypri); in worker_thread()
160 wake / NS_PER_US, j, mypri); in worker_thread()
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c132 #define MAX_ERR 1000 * NS_PER_US
213 max_err = atoi(v) * NS_PER_US; in parse_args()
230 ltime = rt_gettime() / NS_PER_US; in record_time()
351 record_time(id, start_time / NS_PER_US, l); in start_task()
477 now = rt_gettime() / NS_PER_US; in main()
488 end = rt_gettime() / NS_PER_US; in main()
/external/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c59 #define THREAD_SLEEP 1 * NS_PER_US
143 delta = (long)((end - start) / NS_PER_US); in matrix_mult_record()
229 delta = (long)((end - start) / NS_PER_US); in main_thread()
274 delta = (long)((end - start) / NS_PER_US); in main_thread()
/external/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c130 start_delay = (now - start) / NS_PER_US; in periodic_thread()
179 (now - iter_start - (nsec_t) (i + 1) * period) / NS_PER_US; in periodic_thread()
255 OVERHEAD / NS_PER_US); in main()
/external/ltp/testcases/realtime/func/pi_perf/
Dpi_perf.c158 rec.y = low_hold / NS_PER_US; in low_prio_thread()
197 rec.y = high_get_lock / NS_PER_US; in high_prio_thread()
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c246 delta_us = (now - start) / NS_PER_US; in high_prio_rt_thread()
250 delta_us = (now - low_drop_time) / NS_PER_US; in high_prio_rt_thread()
/external/ltp/testcases/realtime/func/async_handler/
Dasync_handler_jk.c157 delta = (end - start) / NS_PER_US; in main()
Dasync_handler.c142 delta = (long)((end - start) / NS_PER_US); in signal_thread()
/external/ltp/testcases/realtime/include/
Dlibrttest.h72 #define NS_PER_US 1000 macro
/external/ltp/testcases/realtime/func/periodic_cpu_load/
Dperiodic_cpu_load_single.c129 rec.y = exe_time / NS_PER_US; in periodic_thread()
Dperiodic_cpu_load.c145 rec.y = exe_time / NS_PER_US; in periodic_thread()
/external/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c141 ((unsigned long)(end - start) - DEF_SLEEP_TIME) / NS_PER_US; in timer_thread()
/external/ltp/testcases/realtime/tools/
Dftqviz.py36 NS_PER_US = 1000 variable
/external/ltp/testcases/realtime/func/pthread_kill_latency/
Dpthread_kill_latency.c162 delta = (end - begin) / NS_PER_US; in signal_receiving_thread()
/external/ltp/testcases/realtime/lib/
Dlibrttest.c101 iters_per_us = (CALIBRATE_LOOPS * NS_PER_US) / (end - start); in calibrate_busyloop()
581 delta = (now - start) / NS_PER_US; in busy_work_us()