Home
last modified time | relevance | path

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

/third_party/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()
476 now = rt_gettime() / NS_PER_US; in main()
487 end = rt_gettime() / NS_PER_US; in main()
/third_party/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()
/third_party/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c36 #define THREAD_SLEEP 1 * NS_PER_US
122 delta = (long)((end - start) / NS_PER_US); in matrix_mult_record()
213 delta = (long)((end - start) / NS_PER_US); in main_thread()
258 delta = (long)((end - start) / NS_PER_US); in main_thread()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/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()
/third_party/ltp/testcases/realtime/include/
Dlibrttest.h71 #define NS_PER_US 1000 macro
/third_party/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()
/third_party/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c138 ((unsigned long)(end - start) - DEF_SLEEP_TIME) / NS_PER_US; in timer_thread()
/third_party/ltp/testcases/realtime/tools/
Dftqviz.py36 NS_PER_US = 1000 variable
/third_party/ltp/testcases/realtime/lib/
Dlibrttest.c102 iters_per_us = (CALIBRATE_LOOPS * NS_PER_US) / (end - start); in calibrate_busyloop()
586 delta = (now - start) / NS_PER_US; in busy_work_us()
/third_party/ltp/testcases/realtime/func/pthread_kill_latency/
Dpthread_kill_latency.c162 delta = (end - begin) / NS_PER_US; in signal_receiving_thread()