Home
last modified time | relevance | path

Searched refs:NS_PER_MS (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c52 #define NS_PER_MS 1000000 macro
164 rt_nanosleep(1 * NS_PER_MS); in low_prio_rt_thread()
169 rt_nanosleep(1 * NS_PER_MS); in low_prio_rt_thread()
179 rt_nanosleep(1 * NS_PER_MS); in low_prio_rt_thread()
196 rt_nanosleep(1 * NS_PER_MS); in med_prio_thread()
236 rt_nanosleep(10 * NS_PER_MS); in high_prio_rt_thread()
256 rt_nanosleep(10 * NS_PER_MS); in high_prio_rt_thread()
/external/ltp/testcases/realtime/func/periodic_cpu_load/
Dperiodic_cpu_load.c48 #define PERIOD_A 40*NS_PER_MS
49 #define PERIOD_B 80*NS_PER_MS
50 #define PERIOD_C 160*NS_PER_MS
186 printf(" period: %d ms\n", PERIOD_A / NS_PER_MS); in main()
190 printf(" period: %d ms\n", PERIOD_B / NS_PER_MS); in main()
194 printf(" period: %d ms\n", PERIOD_C / NS_PER_MS); in main()
Dperiodic_cpu_load_single.c186 period = atoi(v) * NS_PER_MS; in parse_args()
197 period = DEFAULT_PERIOD * NS_PER_MS; in main()
221 printf(" period: %d ms\n", period / NS_PER_MS); in main()
/external/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c60 #define DEF_PERIOD 5*NS_PER_MS
108 period = strtoull(v, NULL, 0) * NS_PER_MS; in parse_args()
253 if (load_ms * NS_PER_MS >= period - OVERHEAD) { in main()
269 period / NS_PER_MS); in main()
290 start = rt_gettime() + 250 * NS_PER_MS; in main()
/external/ltp/testcases/realtime/include/
Dlibrttest.h71 #define NS_PER_MS 1000000 macro
/external/ltp/testcases/realtime/func/rt-migrate/
Drt-migrate.c127 #define INTERVAL 100ULL * NS_PER_MS
128 #define RUN_INTERVAL 20ULL * NS_PER_MS
/external/ltp/testcases/realtime/tools/
Dftqviz.py35 NS_PER_MS = 1000000 variable